aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/torui/coflsky/EventRegistry.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/torui/coflsky/EventRegistry.java')
-rw-r--r--src/main/java/de/torui/coflsky/EventRegistry.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main/java/de/torui/coflsky/EventRegistry.java b/src/main/java/de/torui/coflsky/EventRegistry.java
index afe39bb..4d125f0 100644
--- a/src/main/java/de/torui/coflsky/EventRegistry.java
+++ b/src/main/java/de/torui/coflsky/EventRegistry.java
@@ -17,19 +17,16 @@ import net.minecraftforge.fml.server.FMLServerHandler;
public class EventRegistry{
+
@SubscribeEvent
public void onConnectedToServerEvent(ClientConnectedToServerEvent event) {
- //String serverIP = Minecraft.getMinecraft().getCurrentServerData().serverIP;
- //System.out.println("ServerIP: " + serverIP);
- if(!event.isLocal) {
+ if(!event.isLocal ) {
//String serverIP = Minecraft.getMinecraft().getCurrentServerData().serverIP;
/* if(false && serverIP.equals("hypixel.net")) {
}*/
//UUID.randomUUID().toString();
-
- //String username = Minecraft.getSessionInfo().get("X-Minecraft-Username");
//String id = FMLClientHandler.instance().getClient().thePlayer.getUniqueID().toString();