From 513118d42c0c64a7da6665ed43145bdf5766e0c0 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 22 Mar 2024 13:14:45 -0400 Subject: [PATCH] Flags defined in in-memory constructor --- src/engine/objects/Item.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/objects/Item.java b/src/engine/objects/Item.java index 15090ac7..d469d4da 100644 --- a/src/engine/objects/Item.java +++ b/src/engine/objects/Item.java @@ -74,6 +74,8 @@ public class Item extends AbstractWorldObject { this.equipSlot = EquipSlotType.NONE; this.containerType = ItemContainerType.NONE; this.numberOfItems = 1; + this.flags.addAll(this.template.item_flags); + loadEnchantments(); applyBakedInStats(); }