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