diff --git a/src/engine/ai/MobileFSM.java b/src/engine/ai/MobileFSM.java index 514c1a34..1a28339a 100644 --- a/src/engine/ai/MobileFSM.java +++ b/src/engine/ai/MobileFSM.java @@ -1669,7 +1669,7 @@ public class MobileFSM { String des = act.stackType; if (target.getEffects() != null && target.getEffects().containsKey(des)) - powerTokens.remove(powerToken); + powerTokens.remove(Integer.valueOf(powerToken)); } }