[card.plugin] Fixed permanent not deleted and drawn over other cards. No need to rebuild jar.

This commit is contained in:
magenoxx 2010-11-17 07:08:35 +00:00
parent fe3e76b64e
commit 4d0a5c899e

View file

@ -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);
}
}
}
}