forked from TuxCoding/FastLogin
Remove commented out code
This commit is contained in:
@ -26,7 +26,6 @@
|
|||||||
package com.github.games647.fastlogin.bukkit;
|
package com.github.games647.fastlogin.bukkit;
|
||||||
|
|
||||||
import com.comphenix.protocol.ProtocolLibrary;
|
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.CrackedCommand;
|
||||||
import com.github.games647.fastlogin.bukkit.command.PremiumCommand;
|
import com.github.games647.fastlogin.bukkit.command.PremiumCommand;
|
||||||
import com.github.games647.fastlogin.bukkit.listener.ConnectionListener;
|
import com.github.games647.fastlogin.bukkit.listener.ConnectionListener;
|
||||||
@ -57,8 +56,6 @@ import java.util.concurrent.ConcurrentMap;
|
|||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.EventHandler;
|
|
||||||
import org.bukkit.event.Listener;
|
|
||||||
import org.bukkit.plugin.PluginManager;
|
import org.bukkit.plugin.PluginManager;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
import org.geysermc.floodgate.api.FloodgateApi;
|
import org.geysermc.floodgate.api.FloodgateApi;
|
||||||
@ -108,15 +105,6 @@ public class FastLoginBukkit extends JavaPlugin implements PlatformPlugin<Comman
|
|||||||
bungeeManager = new BungeeManager(this);
|
bungeeManager = new BungeeManager(this);
|
||||||
bungeeManager.initialize();
|
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();
|
PluginManager pluginManager = getServer().getPluginManager();
|
||||||
if (bungeeManager.isEnabled()) {
|
if (bungeeManager.isEnabled()) {
|
||||||
markInitialized();
|
markInitialized();
|
||||||
|
Reference in New Issue
Block a user