mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Only store the changezone LKI info for cards actually moving from zone to zone.
This commit is contained in:
@@ -105,8 +105,6 @@ public class GameAction {
|
||||
}
|
||||
|
||||
public Card changeZone(final Zone zoneFrom, Zone zoneTo, final Card c, Integer position) {
|
||||
game.setChangeZoneLKIInfo(c);
|
||||
|
||||
if (c.isCopiedSpell() || (c.isImmutable() && zoneTo.is(ZoneType.Exile))) {
|
||||
// Remove Effect from command immediately, this is essential when some replacement
|
||||
// effects happen during the resolving of a spellability ("the next time ..." effect)
|
||||
@@ -142,6 +140,8 @@ public class GameAction {
|
||||
return c;
|
||||
}
|
||||
|
||||
game.setChangeZoneLKIInfo(c);
|
||||
|
||||
boolean suppress = !c.isToken() && zoneFrom.equals(zoneTo);
|
||||
|
||||
Card copied = null;
|
||||
|
||||
Reference in New Issue
Block a user