fixed issue 241

This commit is contained in:
BetaSteward 2011-10-14 10:31:46 -04:00
parent 2f9b76db31
commit 9b19ce56c0

View file

@ -824,7 +824,7 @@ 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(id, this))
if (perm.removeAttachment(attachment.getId(), this))
return true;
}
}