From 6d02a902b7fd7ddc8b97a9a5f00cce8b2ddbcfb7 Mon Sep 17 00:00:00 2001 From: Alex Vasile <48962821+Alex-Vasile@users.noreply.github.com> Date: Sun, 20 Feb 2022 01:07:55 -0500 Subject: [PATCH] fix what is almost certainly a typo (#8693) --- .../mage/test/serverside/base/impl/CardTestPlayerAPIImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;