* Genesis Ultimatum - fixed rollback error on usage with modal double faces cards (#7275);

This commit is contained in:
Oleg Agafonov 2020-12-23 09:15:04 +04:00
parent 796c8fb22e
commit 10cf9c4a4e
9 changed files with 94 additions and 46 deletions

View file

@ -342,7 +342,6 @@ public abstract class GameImpl implements Game, Serializable {
MageObject object;
if (state.getBattlefield().containsPermanent(objectId)) {
object = state.getBattlefield().getPermanent(objectId);
// state.setZone(objectId, Zone.BATTLEFIELD); // why is this neccessary?
return object;
}
if (getPermanentsEntering().containsKey(objectId)) {
@ -350,7 +349,6 @@ public abstract class GameImpl implements Game, Serializable {
}
for (StackObject item : state.getStack()) {
if (item.getId().equals(objectId)) {
// state.setZone(objectId, Zone.STACK); // why is this neccessary?
return item;
}
if (item.getSourceId().equals(objectId) && item instanceof Spell) {