mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
removed Copier
This commit is contained in:
parent
978f697f41
commit
442e127ab7
1 changed files with 1 additions and 7 deletions
|
@ -64,7 +64,7 @@ import mage.watchers.Watchers;
|
|||
*/
|
||||
public class GameState implements Serializable {
|
||||
|
||||
private static final transient Copier<GameState> copier = new Copier<GameState>();
|
||||
// private static final transient Copier<GameState> copier = new Copier<GameState>();
|
||||
private Players players = new Players();
|
||||
private UUID activePlayerId;
|
||||
private UUID priorityPlayerId;
|
||||
|
@ -233,12 +233,6 @@ public class GameState implements Serializable {
|
|||
return null;
|
||||
}
|
||||
|
||||
public GameState copy() {
|
||||
|
||||
return copier.copy(this);
|
||||
|
||||
}
|
||||
|
||||
public void restore(GameState state) {
|
||||
this.stack = state.stack;
|
||||
this.effects = state.effects;
|
||||
|
|
Loading…
Reference in a new issue