mirror of
https://github.com/correl/mage.git
synced 2024-11-24 19:19:56 +00:00
fix what is almost certainly a typo (#8693)
This commit is contained in:
parent
c1b70dee88
commit
6d02a902b7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue