mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
CardView: look at game state of remembered card to get accurate zone
This commit is contained in:
@@ -444,7 +444,7 @@ public class CardView extends GameEntityView {
|
|||||||
if (o != null) {
|
if (o != null) {
|
||||||
if (o instanceof Card && c.isImmutable() && c.getName().contains("Perpetual Effect")) {
|
if (o instanceof Card && c.isImmutable() && c.getName().contains("Perpetual Effect")) {
|
||||||
Card rc = (Card) o;
|
Card rc = (Card) o;
|
||||||
if (!rc.getZone().getZoneType().isHidden()) {
|
if (!rc.getGame().getCardState(rc).getZone().getZoneType().isHidden()) {
|
||||||
sb.append(o.toString());
|
sb.append(o.toString());
|
||||||
sb.append("\r\n");
|
sb.append("\r\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user