diff --git a/Mage.Tests/src/test/java/org/mage/test/player/TestPlayer.java b/Mage.Tests/src/test/java/org/mage/test/player/TestPlayer.java index 2d96aa6dda..1effa04962 100644 --- a/Mage.Tests/src/test/java/org/mage/test/player/TestPlayer.java +++ b/Mage.Tests/src/test/java/org/mage/test/player/TestPlayer.java @@ -550,7 +550,7 @@ public class TestPlayer extends ComputerPlayer { return false; } else if (groups[2].startsWith("manaInPool=")) { String manaInPool = groups[2].substring(11); - int amountOfMana = Integer.parseUnsignedInt(manaInPool); + int amountOfMana = Integer.parseInt(manaInPool); return this.getManaPool().getMana().count() >= amountOfMana; } return true;