diff --git a/src/engine/objects/CharacterItemManager.java b/src/engine/objects/CharacterItemManager.java index 3acec039..20b0e060 100644 --- a/src/engine/objects/CharacterItemManager.java +++ b/src/engine/objects/CharacterItemManager.java @@ -1268,7 +1268,9 @@ public class CharacterItemManager { for(Item item : purge){ count += item.getNumOfItems(); this.removeItemFromInventory(item); + item.setOwner(null); item.junk(); + } Item resource = new MobLoot(this.getOwner(),i.getItemBase(),count,false).promoteToItem((PlayerCharacter)this.getOwner()); this.inventory.add(resource);