mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
fixed issue 49
This commit is contained in:
parent
2044b00a99
commit
8d176bf82b
1 changed files with 1 additions and 1 deletions
|
@ -658,7 +658,7 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
|
|||
if (perm.getAttachments().size() > 0) {
|
||||
for (UUID attachmentId: perm.getAttachments()) {
|
||||
Permanent attachment = getPermanent(attachmentId);
|
||||
if (!(attachment.getSubtype().contains("Aura") ||
|
||||
if (attachment != null && !(attachment.getSubtype().contains("Aura") ||
|
||||
attachment.getSubtype().contains("Equipment") ||
|
||||
attachment.getSubtype().contains("Fortification"))) {
|
||||
if (perm.removeAttachment(id, this))
|
||||
|
|
Loading…
Reference in a new issue