mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Merge pull request #931 from ImperatorPrime/master
Fix compilation in Java 7.
This commit is contained in:
commit
15b993fcf6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue