resource merchant work

This commit is contained in:
2024-02-18 17:49:13 -06:00
parent 9e7a8bef4a
commit 571ad4b466
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -1218,10 +1218,9 @@ public class CharacterItemManager {
if (this.doesCharOwnThisItem(i.getObjectUUID()) == false)
return false;
if (this.inventory.contains(i)) {
if(this.getOwner().getName().equals("Resource Merchant") == false){
this.inventory.remove(i);
this.itemIDtoType.remove(i.getObjectUUID());
}
updateInventory(i, false);
return true;
}
}