mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Fixed tests
This commit is contained in:
parent
550b98509c
commit
ae99a1b444
2 changed files with 2 additions and 1 deletions
|
|
@ -1433,6 +1433,7 @@ public abstract class GameImpl implements Game, Serializable {
|
|||
// player is loosing life
|
||||
lastPlayersLifes = null;
|
||||
infiniteLoopCounter = 0; // reset the infinite counter
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -1274,7 +1274,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
return false;
|
||||
}
|
||||
|
||||
protected LinkedHashMap<UUID, ActivatedAbility> getSpellAbilities(MageObject object, Zone zone, Game game) {
|
||||
public LinkedHashMap<UUID, ActivatedAbility> getSpellAbilities(MageObject object, Zone zone, Game game) {
|
||||
LinkedHashMap<UUID, ActivatedAbility> useable = new LinkedHashMap<>();
|
||||
for (Ability ability : object.getAbilities()) {
|
||||
if (ability instanceof SpellAbility) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue