mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08: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…
Add table
Add a link
Reference in a new issue