forked from External/mage
Fixed different ZCC in split card's parts (flashback fix, see 95075cf33e);
Improve moveToZone code and fixed some cards with wrong commands queue (e.g. directly removes card from zone and then calls moveToZone again);
This commit is contained in:
parent
f010454cb2
commit
e95ae2675b
21 changed files with 116 additions and 36 deletions
|
|
@ -691,6 +691,8 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
return false;
|
||||
}
|
||||
library.remove(card.getId(), game);
|
||||
// must return true all the time (some cards can be removed directly from library, see getLibrary().removeFromTop)
|
||||
// TODO: replace removeFromTop logic to normal with moveToZone
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -919,8 +921,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
|
||||
@Override
|
||||
public boolean removeFromGraveyard(Card card, Game game) {
|
||||
this.graveyard.remove(card);
|
||||
return true;
|
||||
return this.graveyard.remove(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue