Browse Source

strip castable enchanst when moving to vault

lakebane
FatBoy-DOTC 2 days ago
parent
commit
cca078f017
  1. 3
      src/engine/objects/CharacterItemManager.java

3
src/engine/objects/CharacterItemManager.java

@ -1197,6 +1197,8 @@ public class CharacterItemManager { @@ -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 { @@ -1205,7 +1207,6 @@ public class CharacterItemManager {
calculateWeights();
i.stripCastableEnchants();
return true;
}

Loading…
Cancel
Save