From 6694a0bdc3928a64b192659e30434c08eb2e6157 Mon Sep 17 00:00:00 2001 From: Ghostipedia Date: Fri, 31 May 2024 23:45:35 -0400 Subject: [PATCH] Wuh networking adding screrets stuff ( it's probs still going to not work ) --- .../com/gregtechceu/gtceu/api/item/tool/GTOmniToolItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gregtechceu/gtceu/api/item/tool/GTOmniToolItem.java b/src/main/java/com/gregtechceu/gtceu/api/item/tool/GTOmniToolItem.java index cb99716e5a..17077ff763 100644 --- a/src/main/java/com/gregtechceu/gtceu/api/item/tool/GTOmniToolItem.java +++ b/src/main/java/com/gregtechceu/gtceu/api/item/tool/GTOmniToolItem.java @@ -87,7 +87,7 @@ public void onKeyPressed(ServerPlayer player, KeyBind keyPressed) { public void inventoryTick(ItemStack stack, Level level, Entity entity, int slotId, boolean isSelected) { super.inventoryTick(stack, level, entity, slotId, isSelected); if (!onInit){ - //Registers the listener then stops after the first tick. This is kinda hacky but it works. + //Registers the listener then stops after the first tick. KeyBind.QUARK_TOOL_MODE_SWITCH.registerListener((ServerPlayer) entity,this); onInit = true; }