diff --git a/app/react-components/ui.jsx b/app/react-components/ui.jsx index 90a13b2..fd57e19 100644 --- a/app/react-components/ui.jsx +++ b/app/react-components/ui.jsx @@ -154,13 +154,7 @@ export default function Ui({disconnected}) { if (update.Inventory) { const newHotbarSlots = emptySlots(); for (let i = 1; i < 11; ++i) { - if (entity.Inventory.slots[i]) { - const {qty, source} = entity.Inventory.slots[i]; - newHotbarSlots[i - 1] = { - image: source + '/icon.png', - qty, - }; - } + newHotbarSlots[i - 1] = entity.Inventory.slots[i]; } setHotbarSlots(newHotbarSlots); }