Browse Source

Flags defined in in-memory constructor

combat-2
MagicBot 8 months ago
parent
commit
513118d42c
  1. 2
      src/engine/objects/Item.java

2
src/engine/objects/Item.java

@ -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();
} }

Loading…
Cancel
Save