This commit is contained in:
BetaSteward 2012-03-03 23:20:10 -05:00
parent 67fb349224
commit db02ea3aa6
9 changed files with 18 additions and 14 deletions

View file

@ -885,8 +885,10 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
if (attachment != null && !(attachment.getSubtype().contains("Aura") ||
attachment.getSubtype().contains("Equipment") ||
attachment.getSubtype().contains("Fortification"))) {
if (perm.removeAttachment(attachment.getId(), this))
if (perm.removeAttachment(attachment.getId(), this)) {
somethingHappened = true;
break;
}
}
}
}