From 2fb889272ba321d6c0918088957a02d3a00fc722 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 24 Mar 2024 08:14:40 -0400 Subject: [PATCH] Rewrite of handler --- src/engine/objects/Item.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/objects/Item.java b/src/engine/objects/Item.java index 4d289191..043de218 100644 --- a/src/engine/objects/Item.java +++ b/src/engine/objects/Item.java @@ -537,6 +537,7 @@ public class Item extends AbstractWorldObject { Item item = new Item(templateID); item.ownerID = pc.getObjectUUID(); item.ownerType = OwnerType.PlayerCharacter; + item.containerType = ItemContainerType.INVENTORY; try { item = DbManager.ItemQueries.PERSIST(item);