Fix compilation in Java 7.

This commit is contained in:
Nathaniel Brandes 2015-04-24 01:33:52 -07:00
parent 50b783d4a3
commit ef5dff709a

View file

@ -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;