Browse Source

resource merchant work

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
0e61f0e7b8
  1. 5
      src/engine/objects/CharacterItemManager.java

5
src/engine/objects/CharacterItemManager.java

@ -1218,9 +1218,8 @@ public class CharacterItemManager {
if (this.doesCharOwnThisItem(i.getObjectUUID()) == false) if (this.doesCharOwnThisItem(i.getObjectUUID()) == false)
return false; return false;
if (this.inventory.contains(i)) { if (this.inventory.contains(i)) {
this.inventory.remove(i); this.inventory.remove(i);
this.itemIDtoType.remove(i.getObjectUUID()); this.itemIDtoType.remove(i.getObjectUUID());
updateInventory(i, false);
return true; return true;
} }
} }

Loading…
Cancel
Save