mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 21:42:07 -08:00
* Chorus of the Conclave - Fixed a problem with game copy logic (related to rollback and AI) (fixed #7195).
This commit is contained in:
parent
3bc3ca6a50
commit
137070d523
2 changed files with 56 additions and 0 deletions
|
|
@ -167,6 +167,8 @@ public class GameState implements Serializable, Copyable<GameState> {
|
|||
this.values.put(entry.getKey(), ((HashSet) entry.getValue()).clone());
|
||||
} else if (entry.getValue() instanceof EnumSet) {
|
||||
this.values.put(entry.getKey(), ((EnumSet) entry.getValue()).clone());
|
||||
} else if (entry.getValue() instanceof HashMap){
|
||||
this.values.put(entry.getKey(), ((HashMap) entry.getValue()).clone());
|
||||
} else {
|
||||
this.values.put(entry.getKey(), entry.getValue());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue