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