From 14ccb1f80b232e5fe0d86a5d0a27db83126e4af4 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 25 Mar 2024 00:30:16 -0400 Subject: [PATCH] Value set in constructor --- src/engine/objects/Item.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/objects/Item.java b/src/engine/objects/Item.java index 6c5102b9..e7de57bc 100644 --- a/src/engine/objects/Item.java +++ b/src/engine/objects/Item.java @@ -75,6 +75,7 @@ public class Item extends AbstractWorldObject { this.containerType = ItemContainerType.NONE; this.numberOfItems = 1; this.flags.addAll(this.template.item_flags); + this.value = this.template.item_value; loadTemplateEnchantments(); }