diff --git a/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java b/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java index 7147cf4de8..8454fe9586 100644 --- a/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java +++ b/Mage.Tests/src/test/java/org/mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java @@ -1713,7 +1713,7 @@ public abstract class CardTestPlayerAPIImpl extends MageTestPlayerBase implement * Ends a block of actions to be added after an rollback action */ public void rollbackAfterActionsEnd() throws IllegalStateException { - if (rollbackBlockActive = false || rollbackPlayer == null) { + if (!rollbackBlockActive || rollbackPlayer == null) { throw new IllegalStateException("There was no rollback action defined before or no rollback block started. You can use this command only after a rollback action."); } rollbackBlockActive = false;