From feb7e56bb645b6a99af45086c44e9d64cb9e70f6 Mon Sep 17 00:00:00 2001 From: Barnaby <22575741+barnabwhy@users.noreply.github.com> Date: Sun, 23 Jun 2024 21:14:06 +0100 Subject: [PATCH] Restore original code style --- .../axiom/packet/SwitchActiveHotbarPacketListener.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }