From 523eb8529fdd0559632c3184e3b50203d66e41b2 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 1 Mar 2024 19:51:09 -0600 Subject: [PATCH] enchant stripping bug --- src/engine/objects/CharacterItemManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/CharacterItemManager.java b/src/engine/objects/CharacterItemManager.java index 6d74bcd1..667c1f7b 100644 --- a/src/engine/objects/CharacterItemManager.java +++ b/src/engine/objects/CharacterItemManager.java @@ -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); } }