Fixed tests

This commit is contained in:
Oleg Agafonov 2018-03-02 21:42:16 +04:00
parent 550b98509c
commit ae99a1b444
2 changed files with 2 additions and 1 deletions

View file

@ -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 {

View file

@ -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) {