diff --git a/src/main/java/com/moulberry/axiom/packet/SwitchActiveHotbarPacketListener.java b/src/main/java/com/moulberry/axiom/packet/SwitchActiveHotbarPacketListener.java index 0779063..c7c09e5 100644 --- a/src/main/java/com/moulberry/axiom/packet/SwitchActiveHotbarPacketListener.java +++ b/src/main/java/com/moulberry/axiom/packet/SwitchActiveHotbarPacketListener.java @@ -64,15 +64,15 @@ public class SwitchActiveHotbarPacketListener implements PluginMessageListener { } if (stack.isEmpty()) { - containerHotbarItems.remove(new NamespacedKey("axiom", "slot_" + index)); + containerHotbarItems.remove(new NamespacedKey("axiom", "slot_"+index)); } else { - containerHotbarItems.set(new NamespacedKey("axiom", "slot_" + index), ItemStackDataType.INSTANCE, stack); + containerHotbarItems.set(new NamespacedKey("axiom", "slot_"+index), ItemStackDataType.INSTANCE, stack); } } int index = activeHotbarIndex*9 + i; ItemStack hotbarItem = hotbarItems[i].clone(); if (hotbarItem.isEmpty()) { - containerHotbarItems.remove(new NamespacedKey("axiom", "slot_" + index)); + containerHotbarItems.remove(new NamespacedKey("axiom", "slot_"+index)); } else { containerHotbarItems.set(new NamespacedKey("axiom", "slot_"+index), ItemStackDataType.INSTANCE, hotbarItem); }