From b744f5286fd5144a130e3bb85d1cb540d06d74bc Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 22 Apr 2022 21:36:55 +0200 Subject: [PATCH] Update some stuff --- .../bungeecore/listeners/SubserverProtocolFixer.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/de/steamwar/bungeecore/listeners/SubserverProtocolFixer.java b/src/de/steamwar/bungeecore/listeners/SubserverProtocolFixer.java index d14a78f..d54414a 100644 --- a/src/de/steamwar/bungeecore/listeners/SubserverProtocolFixer.java +++ b/src/de/steamwar/bungeecore/listeners/SubserverProtocolFixer.java @@ -41,13 +41,12 @@ public class SubserverProtocolFixer extends BasicListener { field = InitialHandler.class.getDeclaredField("extraDataInHandshake"); field.setAccessible(true); } catch (Exception e) { - BungeeCord.getInstance().stop(); + // ignore } } @EventHandler public void loginEvent(LoginEvent e) { - System.out.println(e); InitialHandler initialHandler = ((InitialHandler) e.getConnection()); LoginResult.Property[] properties = initialHandler.getLoginProfile().getProperties(); try { @@ -57,7 +56,7 @@ public class SubserverProtocolFixer extends BasicListener { } field.set(initialHandler, extraData); } catch (Exception ex) { - BungeeCord.getInstance().stop(); + // ignore } } }