From 1798f5a151e8b8daa3c7b045a5f6081047883dcf Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Thu, 26 Dec 2019 14:26:16 +0100 Subject: [PATCH] * setCheckPlayableState(false) in finally error handling (related to 133cc7342dc2d77e4bd008f5f5a95622e7ea267c). --- Mage/src/main/java/mage/game/GameImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Mage/src/main/java/mage/game/GameImpl.java b/Mage/src/main/java/mage/game/GameImpl.java index 2da492db7d..4f038a6b1f 100644 --- a/Mage/src/main/java/mage/game/GameImpl.java +++ b/Mage/src/main/java/mage/game/GameImpl.java @@ -1324,6 +1324,8 @@ public abstract class GameImpl implements Game, Serializable { } else { throw new MageException("Error in testclass"); } + } finally { + setCheckPlayableState(false); } state.getPlayerList().getNext(); } @@ -1335,6 +1337,7 @@ public abstract class GameImpl implements Game, Serializable { } finally { resetLKI(); clearAllBookmarks(); + setCheckPlayableState(false); } }