Skip to content

Commit c886ccb

Browse files
author
games647
committed
Remove commented out code
1 parent bbb615b commit c886ccb

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
package com.github.games647.fastlogin.bukkit;
2727

2828
import com.comphenix.protocol.ProtocolLibrary;
29-
import com.destroystokyo.paper.event.player.PlayerHandshakeEvent;
3029
import com.github.games647.fastlogin.bukkit.command.CrackedCommand;
3130
import com.github.games647.fastlogin.bukkit.command.PremiumCommand;
3231
import com.github.games647.fastlogin.bukkit.listener.ConnectionListener;
@@ -57,8 +56,6 @@
5756
import org.bukkit.Bukkit;
5857
import org.bukkit.command.CommandSender;
5958
import org.bukkit.entity.Player;
60-
import org.bukkit.event.EventHandler;
61-
import org.bukkit.event.Listener;
6259
import org.bukkit.plugin.PluginManager;
6360
import org.bukkit.plugin.java.JavaPlugin;
6461
import org.geysermc.floodgate.api.FloodgateApi;
@@ -108,15 +105,6 @@ public void onEnable() {
108105
bungeeManager = new BungeeManager(this);
109106
bungeeManager.initialize();
110107

111-
// getServer().getPluginManager().registerEvents(new Listener() {
112-
//
113-
// @EventHandler
114-
// void onHandshake(PlayerHandshakeEvent handshakeEvent) {
115-
// handshakeEvent.setCancelled(false);
116-
// handshakeEvent.setSocketAddressHostname("192.168.0.1");
117-
// }
118-
// }, this);
119-
120108
PluginManager pluginManager = getServer().getPluginManager();
121109
if (bungeeManager.isEnabled()) {
122110
markInitialized();

0 commit comments

Comments
 (0)