|
|
@ -1218,8 +1218,10 @@ 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); |
|
|
|
if(this.getOwner().getName().equals("Resource Merchant") == false){ |
|
|
|
this.itemIDtoType.remove(i.getObjectUUID()); |
|
|
|
this.inventory.remove(i); |
|
|
|
|
|
|
|
this.itemIDtoType.remove(i.getObjectUUID()); |
|
|
|
|
|
|
|
} |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|