mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Check static abilities when adding card to zone from nowhere (such as using Dev tools)
This commit is contained in:
@@ -128,6 +128,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
if (zoneFrom == null && !c.isToken()) {
|
if (zoneFrom == null && !c.isToken()) {
|
||||||
zoneTo.add(c, position);
|
zoneTo.add(c, position);
|
||||||
|
checkStaticAbilities();
|
||||||
game.fireEvent(new GameEventCardChangeZone(c, zoneFrom, zoneTo));
|
game.fireEvent(new GameEventCardChangeZone(c, zoneFrom, zoneTo));
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user