Browse Source

resource merchant work

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
669db7f021
  1. 2
      src/engine/objects/CharacterItemManager.java

2
src/engine/objects/CharacterItemManager.java

@ -1218,8 +1218,10 @@ public class CharacterItemManager { @@ -1218,8 +1218,10 @@ 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());
}
return true;
}
}

Loading…
Cancel
Save