mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- getController() call consistency in Card.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user