From 29b7eac585f7d31cb041cffb969b55c14deac3c0 Mon Sep 17 00:00:00 2001 From: Sekwah Date: Sun, 6 Aug 2023 05:52:12 +0100 Subject: [PATCH] fix: remove log that would spam the console "Client attempted to connect" This was caused because forge rebakes the status every 5 seconds as well as neoforge now has a proper UI to tell users what is up now. --- src/main/java/com/sekwah/narutomod/network/PacketHandler.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/sekwah/narutomod/network/PacketHandler.java b/src/main/java/com/sekwah/narutomod/network/PacketHandler.java index 25ed6d08..c05c404f 100644 --- a/src/main/java/com/sekwah/narutomod/network/PacketHandler.java +++ b/src/main/java/com/sekwah/narutomod/network/PacketHandler.java @@ -30,7 +30,6 @@ public class PacketHandler { if (version.equals(PROTOCOL_VERSION)) { return true; } else { - LOGGER.error("Client attempted to connect with a different version of the mod. Client Version: " + PROTOCOL_VERSION + " Server Version: " + version); return false; } }) @@ -38,7 +37,6 @@ public class PacketHandler { if (version.equals(PROTOCOL_VERSION)) { return true; } else { - LOGGER.error("Client attempted to connect with a different version of the mod. Server Version: " + PROTOCOL_VERSION + " Client Version: " + version); return false; } })