|
|
@ -1218,9 +1218,8 @@ 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); |
|
|
|
this.inventory.remove(i); |
|
|
|
this.itemIDtoType.remove(i.getObjectUUID()); |
|
|
|
this.itemIDtoType.remove(i.getObjectUUID()); |
|
|
|
updateInventory(i, false); |
|
|
|
|
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|