mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Xmage 1.4.14v0
This commit is contained in:
parent
4bfac31370
commit
539b03bd1d
33 changed files with 60 additions and 57 deletions
|
|
@ -477,7 +477,7 @@ public class TestPlayer implements Player {
|
|||
if (groups.length > 0) {
|
||||
if (groups[0].equals("Rollback")) {
|
||||
if (groups.length > 1 && groups[1].startsWith("turns=")) {
|
||||
int turns = Integer.parseUnsignedInt(groups[1].substring(6));
|
||||
int turns = Integer.parseInt(groups[1].substring(6));
|
||||
game.rollbackTurns(turns);
|
||||
actions.remove(action);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue