Value set in constructor
This commit is contained in:
1 parent
9d140be510
commit
14ccb1f80b
1 file changed
+1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user