Value set in constructor
This commit is contained in:
@@ -75,6 +75,7 @@ public class Item extends AbstractWorldObject {
|
|||||||
this.containerType = ItemContainerType.NONE;
|
this.containerType = ItemContainerType.NONE;
|
||||||
this.numberOfItems = 1;
|
this.numberOfItems = 1;
|
||||||
this.flags.addAll(this.template.item_flags);
|
this.flags.addAll(this.template.item_flags);
|
||||||
|
this.value = this.template.item_value;
|
||||||
|
|
||||||
loadTemplateEnchantments();
|
loadTemplateEnchantments();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user