From cca078f017d3a01586a4de30511006bf7655e477 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 28 Jan 2025 18:06:05 -0600 Subject: [PATCH] strip castable enchanst when moving to vault --- src/engine/objects/CharacterItemManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/CharacterItemManager.java b/src/engine/objects/CharacterItemManager.java index 8c00b32e..fd4f1f92 100644 --- a/src/engine/objects/CharacterItemManager.java +++ b/src/engine/objects/CharacterItemManager.java @@ -1197,6 +1197,8 @@ public class CharacterItemManager { } else return false; // NPC's dont have vaults! + i.stripCastableEnchants(); + // remove it from other lists: this.remItemFromLists(i, slot); @@ -1205,7 +1207,6 @@ public class CharacterItemManager { calculateWeights(); - i.stripCastableEnchants(); return true; }