From d85a4cd57426f484fa46c9149dd9ace7ebc77170 Mon Sep 17 00:00:00 2001 From: mohammed jasem alaajel <34905970+ham1255@users.noreply.github.com> Date: Tue, 15 Jun 2021 02:09:53 +0400 Subject: [PATCH] removed hooks and commented them out diff --git a/bungee/src/main/java/com/github/games647/fastlogin/bungee/FastLoginBungee.java b/bungee/src/main/java/com/github/games647/fastlogin/bungee/FastLoginBungee.java index e26b271..25f1ac2 100644 --- a/bungee/src/main/java/com/github/games647/fastlogin/bungee/FastLoginBungee.java +++ b/bungee/src/main/java/com/github/games647/fastlogin/bungee/FastLoginBungee.java @@ -25,9 +25,6 @@ */ package com.github.games647.fastlogin.bungee; -import com.github.games647.fastlogin.bungee.hook.BungeeAuthHook; -import com.github.games647.fastlogin.bungee.hook.BungeeCordAuthenticatorBungeeHook; -import com.github.games647.fastlogin.bungee.hook.SodionAuthHook; import com.github.games647.fastlogin.bungee.listener.ConnectListener; import com.github.games647.fastlogin.bungee.listener.PluginMessageListener; import com.github.games647.fastlogin.core.AsyncScheduler; @@ -50,7 +47,6 @@ import java.util.List; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ThreadFactory; -import net.md_5.bungee.BungeeServerInfo; import net.md_5.bungee.api.CommandSender; import net.md_5.bungee.api.chat.TextComponent; import net.md_5.bungee.api.connection.PendingConnection; @@ -102,8 +98,9 @@ public class FastLoginBungee extends Plugin implements PlatformPlugin>> hooks = Arrays.asList( - BungeeAuthHook.class, BungeeCordAuthenticatorBungeeHook.class, SodionAuthHook.class); + try { + List>> hooks = Arrays.asList(); for (Class> clazz : hooks) { String pluginName = clazz.getSimpleName(); @@ -141,7 +139,8 @@ public class FastLoginBungee extends Plugin implements PlatformPlugin>>>>>> 654e137 (related to main) + // LimeLogin end public void sendPluginMessage(Server server, ChannelMessage message) { if (server != null) { -- 2.32.0.windows.1