Value set in constructor

This commit is contained in:
2024-03-25 00:52:47 -04:00
parent 14ccb1f80b
commit eba905b15d
3 changed files with 7 additions and 11 deletions
+1 -1
View File
@@ -1477,7 +1477,7 @@ public class CharacterItemManager {
if (!purchasedItem.moveItemToInventory((PlayerCharacter) this.absCharacter))
return false;
if (purchasedItem.getValue() != purchasedItem.getMagicValue()) {
if (purchasedItem.getValue() != purchasedItem.magicValue) {
DbManager.ItemQueries.UPDATE_VALUE(purchasedItem, 0);
purchasedItem.setValue(0);
}