From 0e61f0e7b88d449ad5b25572d4a6ee91fb9a9ce7 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 18 Feb 2024 17:59:25 -0600 Subject: [PATCH] resource merchant work --- src/engine/objects/CharacterItemManager.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/engine/objects/CharacterItemManager.java b/src/engine/objects/CharacterItemManager.java index 575798dc..3f8b4907 100644 --- a/src/engine/objects/CharacterItemManager.java +++ b/src/engine/objects/CharacterItemManager.java @@ -1218,9 +1218,8 @@ public class CharacterItemManager { if (this.doesCharOwnThisItem(i.getObjectUUID()) == false) return false; if (this.inventory.contains(i)) { - this.inventory.remove(i); - this.itemIDtoType.remove(i.getObjectUUID()); - updateInventory(i, false); + this.inventory.remove(i); + this.itemIDtoType.remove(i.getObjectUUID()); return true; } }