forked from External/mage
Eon Frolicker - fixed rollback error on play (#6780);
This commit is contained in:
parent
55f2893fc4
commit
ecaa5a5b42
6 changed files with 91 additions and 29 deletions
|
|
@ -345,9 +345,12 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
|
||||
this.clearCastSourceIdManaCosts();
|
||||
this.castSourceIdWithAlternateMana.addAll(player.getCastSourceIdWithAlternateMana());
|
||||
this.castSourceIdManaCosts.putAll(player.getCastSourceIdManaCosts());
|
||||
this.castSourceIdCosts.putAll(player.getCastSourceIdCosts());
|
||||
|
||||
for (Entry<UUID, ManaCosts<ManaCost>> entry : player.getCastSourceIdManaCosts().entrySet()) {
|
||||
this.castSourceIdManaCosts.put(entry.getKey(), entry.getValue().copy());
|
||||
}
|
||||
for (Entry<UUID, Costs<Cost>> entry : player.getCastSourceIdCosts().entrySet()) {
|
||||
this.castSourceIdCosts.put(entry.getKey(), entry.getValue().copy());
|
||||
}
|
||||
this.phyrexianColors = player.getPhyrexianColors().copy();
|
||||
|
||||
this.designations.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue