Browse Source

enchant stripping bug

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
79022f0e3e
  1. 2
      src/engine/objects/CharacterItemManager.java

2
src/engine/objects/CharacterItemManager.java

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

Loading…
Cancel
Save