strip castable enchanst when moving to vault
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user