Browse Source

resource merchant work

lakebane-master
FatBoy-DOTC 10 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 { @@ -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;
}
}

Loading…
Cancel
Save