mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 05:52:06 -08:00
Fix compilation in Java 7.
This commit is contained in:
parent
50b783d4a3
commit
ef5dff709a
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…
Add table
Add a link
Reference in a new issue