From 8c6637663df40c14b49da5d44d7389d33e7c6824 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 14 Mar 2024 21:22:34 -0500 Subject: [PATCH] resource dupe --- src/engine/objects/CharacterItemManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/objects/CharacterItemManager.java b/src/engine/objects/CharacterItemManager.java index 20b0e060..5861ea6e 100644 --- a/src/engine/objects/CharacterItemManager.java +++ b/src/engine/objects/CharacterItemManager.java @@ -1267,9 +1267,9 @@ public class CharacterItemManager { } for(Item item : purge){ count += item.getNumOfItems(); - this.removeItemFromInventory(item); - item.setOwner(null); - item.junk(); + //this.removeItemFromInventory(item); + //item.setOwner(null); + junk(item); } Item resource = new MobLoot(this.getOwner(),i.getItemBase(),count,false).promoteToItem((PlayerCharacter)this.getOwner());