- getController() call consistency in Card.

This commit is contained in:
Agetian
2017-05-03 04:08:26 +00:00
parent 97c0d1cc43
commit f39abb2c31

View File

@@ -911,7 +911,7 @@ public class Card extends GameEntity implements Comparable<Card> {
return mustAttackEntity; return mustAttackEntity;
} }
public final void clearMustAttackEntity(final Player playerturn) { public final void clearMustAttackEntity(final Player playerturn) {
if (this.getController().equals(playerturn)) { if (getController().equals(playerturn)) {
mustAttackEntity = null; mustAttackEntity = null;
} }
} }