Browse Source

Remove needs an object not an index value.

master
MagicBot 2 years ago
parent
commit
1945412f5a
  1. 2
      src/engine/ai/MobileFSM.java

2
src/engine/ai/MobileFSM.java

@ -1669,7 +1669,7 @@ public class MobileFSM { @@ -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));
}
}

Loading…
Cancel
Save