strip castable enchanst when moving to vault

This commit is contained in:
2025-01-28 18:06:05 -06:00
parent f658a30132
commit cca078f017
+2 -1
View File
@@ -1197,6 +1197,8 @@ public class CharacterItemManager {
} else } else
return false; // NPC's dont have vaults! return false; // NPC's dont have vaults!
i.stripCastableEnchants();
// remove it from other lists: // remove it from other lists:
this.remItemFromLists(i, slot); this.remItemFromLists(i, slot);
@@ -1205,7 +1207,6 @@ public class CharacterItemManager {
calculateWeights(); calculateWeights();
i.stripCastableEnchants();
return true; return true;
} }