mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed cards dodging destruction during controller changes.
This commit is contained in:
@@ -8265,10 +8265,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
|
||||
/** @return boolean */
|
||||
public boolean isInPlay() {
|
||||
if (getController() == null) {
|
||||
return false;
|
||||
}
|
||||
return getController().getZone(ZoneType.Battlefield).contains(this);
|
||||
return this.getGame().getCardsIn(ZoneType.Battlefield).contains(this);
|
||||
}
|
||||
|
||||
public void onCleanupPhase(final Player turn) {
|
||||
|
||||
Reference in New Issue
Block a user