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.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/de/torui/coflsky/EventRegistry.java b/src/main/java/de/torui/coflsky/EventRegistry.java
index 4ef15a9..afe39bb 100644
--- a/src/main/java/de/torui/coflsky/EventRegistry.java
+++ b/src/main/java/de/torui/coflsky/EventRegistry.java
@@ -19,13 +19,14 @@ public class EventRegistry{
@SubscribeEvent
public void onConnectedToServerEvent(ClientConnectedToServerEvent event) {
-
+ //String serverIP = Minecraft.getMinecraft().getCurrentServerData().serverIP;
+ //System.out.println("ServerIP: " + serverIP);
if(!event.isLocal) {
- String serverIP = Minecraft.getMinecraft().getCurrentServerData().serverIP;
+ //String serverIP = Minecraft.getMinecraft().getCurrentServerData().serverIP;
- if(false && serverIP.equals("hypixel.net")) {
+ /* if(false && serverIP.equals("hypixel.net")) {
- }
+ }*/
//UUID.randomUUID().toString();
//String username = Minecraft.getSessionInfo().get("X-Minecraft-Username");