Browse Source

enchant stripping bug

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
523eb8529f
  1. 2
      src/engine/objects/CharacterItemManager.java

2
src/engine/objects/CharacterItemManager.java

@ -1211,7 +1211,7 @@ public class CharacterItemManager { @@ -1211,7 +1211,7 @@ public class CharacterItemManager {
//i.clearEffects();
for (String name : i.getEffects().keySet()) {
Effect eff = i.getEffects().get(name);
if (eff.getDuration() > 0.1f)
if (eff.getDuration() < 1000)
i.endEffect(name);
}
}

Loading…
Cancel
Save