mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
[card.plugin] Fixed permanent not deleted and drawn over other cards. No need to rebuild jar.
This commit is contained in:
parent
fe3e76b64e
commit
4d0a5c899e
1 changed files with 4 additions and 0 deletions
|
|
@ -156,6 +156,10 @@ public class BattlefieldPanel extends javax.swing.JLayeredPane implements Compon
|
|||
if (((Permanent)comp).getPermanentId().equals(permanentId)) {
|
||||
this.remove(comp);
|
||||
}
|
||||
} else if (comp instanceof MagePermanent) {
|
||||
if (((MagePermanent)comp).getOriginal().getId().equals(permanentId)) {
|
||||
this.remove(comp);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue