forked from External/mage
* Genesis Ultimatum - fixed rollback error on usage with modal double faces cards (#7275);
This commit is contained in:
parent
796c8fb22e
commit
10cf9c4a4e
9 changed files with 94 additions and 46 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue