diff --git a/html/app.js b/html/app.js index a11f4b530..55d8585e4 100644 --- a/html/app.js +++ b/html/app.js @@ -589,6 +589,7 @@ const InventoryContainer = Vue.createApp({ }); if (response.data) { + delete this.playerInventory[playerItemKey]; this.otherInventory[1] = newItem; this.otherInventoryName = response.data; this.otherInventoryLabel = response.data;