forked from MagicBane/Server
Flags defined in in-memory constructor
This commit is contained in:
@@ -74,6 +74,8 @@ public class Item extends AbstractWorldObject {
|
|||||||
this.equipSlot = EquipSlotType.NONE;
|
this.equipSlot = EquipSlotType.NONE;
|
||||||
this.containerType = ItemContainerType.NONE;
|
this.containerType = ItemContainerType.NONE;
|
||||||
this.numberOfItems = 1;
|
this.numberOfItems = 1;
|
||||||
|
this.flags.addAll(this.template.item_flags);
|
||||||
|
|
||||||
loadEnchantments();
|
loadEnchantments();
|
||||||
applyBakedInStats();
|
applyBakedInStats();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user