fix Arboria

This commit is contained in:
xenohedron 2023-07-26 09:54:03 -04:00
parent a096c0a7c3
commit fc56204699

View file

@ -62,6 +62,9 @@ class ArboriaEffect extends RestrictionEffect {
if (defenderId == null) {
return true;
}
if (!game.getPlayers().containsKey(defenderId)) {
return true;
}
CastSpellYourLastTurnWatcher watcher = game.getState().getWatcher(CastSpellYourLastTurnWatcher.class);
if (watcher != null && watcher.getAmountOfSpellsCastOnPlayersTurn(defenderId) > 0) {