mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28: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 */
|
/** @return boolean */
|
||||||
public boolean isInPlay() {
|
public boolean isInPlay() {
|
||||||
if (getController() == null) {
|
return this.getGame().getCardsIn(ZoneType.Battlefield).contains(this);
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return getController().getZone(ZoneType.Battlefield).contains(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onCleanupPhase(final Player turn) {
|
public void onCleanupPhase(final Player turn) {
|
||||||
|
|||||||
Reference in New Issue
Block a user