Browse Source

hard set mine windows

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
6a4e0e32cc
  1. 7
      src/engine/objects/CharacterItemManager.java

7
src/engine/objects/CharacterItemManager.java

@ -1205,7 +1205,12 @@ public class CharacterItemManager { @@ -1205,7 +1205,12 @@ public class CharacterItemManager {
}
private static void stripTempEnchants(Item i) {
i.clearEffects();
//i.clearEffects();
for (String name : i.getEffects().keySet()) {
Effect eff = i.getEffects().get(name);
if (eff.getDuration() > 0.1f)
i.endEffect(name);
}
}
//Used for buying MobEquipment from NPC

Loading…
Cancel
Save