From 99b9444ba8a3b3368473e27b74edd7358806cc3f Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 22 Mar 2024 13:24:54 -0400 Subject: [PATCH] Set flags when created --- src/engine/objects/Item.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/Item.java b/src/engine/objects/Item.java index d4e208d0..0ad9f5c1 100644 --- a/src/engine/objects/Item.java +++ b/src/engine/objects/Item.java @@ -45,7 +45,7 @@ public class Item extends AbstractWorldObject { public ReentrantLock lootLock = new ReentrantLock(); public int ownerID; //may be character, account, npc, mob public float drop_chance; - public EnumSet flags; //1 = isIDed + public EnumSet flags = EnumSet.noneOf(ItemFlags.class); public int numberOfItems; public float durabilityCurrent; public int chargesRemaining;