mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Returning stack object
This commit is contained in:
parent
8dda7eec1b
commit
e60613772d
1 changed files with 3 additions and 0 deletions
|
@ -241,6 +241,9 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
|
|||
state.setZone(objectId, Zone.STACK);
|
||||
return item;
|
||||
}
|
||||
if (item.getSourceId().equals(objectId)) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
object = getCard(objectId);
|
||||
if (object != null)
|
||||
|
|
Loading…
Reference in a new issue