mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
GUI: fixed stacked permanents in some use cases (#12402)
This commit is contained in:
parent
70a5a9a8cf
commit
e0184197c8
1 changed files with 2 additions and 1 deletions
|
|
@ -186,7 +186,8 @@ public class CardPluginImpl implements CardPlugin {
|
|||
? firstPanelPerm.getOriginal().getRules()
|
||||
: new ArrayList<>();
|
||||
// Check the names are equal and are creatures with the same summoning sickness
|
||||
if (firstPanelPerm.getOriginal().getName().equals(perm.getOriginal().getName())
|
||||
if (firstPanelPerm.getOriginal().isToken() == perm.getOriginal().isToken()
|
||||
&& firstPanelPerm.getOriginal().getName().equals(perm.getOriginal().getName())
|
||||
&& stackPower == cardPower && stackToughness == cardToughness
|
||||
&& stackAbilities.equals(cardAbilities) && stackCounters.equals(cardCounters)
|
||||
&& (!perm.isCreature() || firstPanelPerm.getOriginalPermanent().hasSummoningSickness() == perm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue