forked from External/mage
Refactor: Use primitive integer type (#9310)
This commit is contained in:
parent
474aeb560a
commit
4e139c9878
1 changed files with 2 additions and 2 deletions
|
|
@ -3325,7 +3325,7 @@ public abstract class GameImpl implements Game {
|
|||
String[] s = command.getValue().split(":");
|
||||
if (s.length == 2) {
|
||||
try {
|
||||
Integer amount = Integer.parseInt(s[1]);
|
||||
int amount = Integer.parseInt(s[1]);
|
||||
player.setLife(amount, this, null);
|
||||
logger.debug("Setting player's life: ");
|
||||
} catch (NumberFormatException e) {
|
||||
|
|
@ -3747,7 +3747,7 @@ public abstract class GameImpl implements Game {
|
|||
public boolean isGameStopped() {
|
||||
return gameStopped;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean isTurnOrderReversed() {
|
||||
return state.getReverseTurnOrder();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue