Value set in constructor
This commit is contained in:
1 parent
14ccb1f80b
commit
eba905b15d
3 files changed
+7
-11
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user