Value is only an override

This commit is contained in:
2024-03-25 06:35:45 -04:00
parent a130240339
commit c0a50544d7
2 changed files with 3 additions and 6 deletions
-2
View File
@@ -781,8 +781,6 @@ public class Item extends AbstractWorldObject {
if (this.chargesRemaining < 0)
this.chargesRemaining = 0;
DbManager.ItemQueries.UPDATE_REMAINING_CHARGES(this);
this.value = this.template.item_value * (this.chargesRemaining / this.template.item_initial_charges);
DbManager.ItemQueries.UPDATE_VALUE(this, this.value);
}
public void zeroItem() {