From c886ccb9ef0d9d47d999d8337f755b146054a17e Mon Sep 17 00:00:00 2001 From: games647 Date: Wed, 27 Jul 2022 14:37:11 +0200 Subject: [PATCH] Remove commented out code --- .../games647/fastlogin/bukkit/FastLoginBukkit.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java index 2bd463c17..b2bc397c9 100644 --- a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java +++ b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java @@ -26,7 +26,6 @@ package com.github.games647.fastlogin.bukkit; import com.comphenix.protocol.ProtocolLibrary; -import com.destroystokyo.paper.event.player.PlayerHandshakeEvent; import com.github.games647.fastlogin.bukkit.command.CrackedCommand; import com.github.games647.fastlogin.bukkit.command.PremiumCommand; import com.github.games647.fastlogin.bukkit.listener.ConnectionListener; @@ -57,8 +56,6 @@ import org.bukkit.Bukkit; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; -import org.bukkit.event.EventHandler; -import org.bukkit.event.Listener; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; import org.geysermc.floodgate.api.FloodgateApi; @@ -108,15 +105,6 @@ public void onEnable() { bungeeManager = new BungeeManager(this); bungeeManager.initialize(); - // getServer().getPluginManager().registerEvents(new Listener() { - // - // @EventHandler - // void onHandshake(PlayerHandshakeEvent handshakeEvent) { - // handshakeEvent.setCancelled(false); - // handshakeEvent.setSocketAddressHostname("192.168.0.1"); - // } - // }, this); - PluginManager pluginManager = getServer().getPluginManager(); if (bungeeManager.isEnabled()) { markInitialized();