From ba3aa4566ef09f1477836687d469fbeeaf184e25 Mon Sep 17 00:00:00 2001 From: Matsv Date: Sat, 1 Oct 2016 14:56:08 +0200 Subject: [PATCH] Remove some debug messages that prevent Jenkins from building. --- bungee/src/main/java/us/myles/ViaVersion/BungeePlugin.java | 1 - .../myles/ViaVersion/bungee/handlers/BungeeEncodeHandler.java | 4 ---- 2 files changed, 5 deletions(-) diff --git a/bungee/src/main/java/us/myles/ViaVersion/BungeePlugin.java b/bungee/src/main/java/us/myles/ViaVersion/BungeePlugin.java index f6cd0e614..f94352e14 100644 --- a/bungee/src/main/java/us/myles/ViaVersion/BungeePlugin.java +++ b/bungee/src/main/java/us/myles/ViaVersion/BungeePlugin.java @@ -174,7 +174,6 @@ public class BungeePlugin extends Plugin implements ViaPlatform, Listener { public void onServerConnect(ServerConnectEvent e) throws NoSuchFieldException, IllegalAccessException { UserConnection user = Via.getManager().getConnection(e.getPlayer().getUniqueId()); if (!user.has(BungeeStorage.class)) { - System.out.println("new storage"); user.put(new BungeeStorage(user, e.getPlayer())); } diff --git a/bungee/src/main/java/us/myles/ViaVersion/bungee/handlers/BungeeEncodeHandler.java b/bungee/src/main/java/us/myles/ViaVersion/bungee/handlers/BungeeEncodeHandler.java index a4bbd4df7..c577ed0f7 100644 --- a/bungee/src/main/java/us/myles/ViaVersion/bungee/handlers/BungeeEncodeHandler.java +++ b/bungee/src/main/java/us/myles/ViaVersion/bungee/handlers/BungeeEncodeHandler.java @@ -98,8 +98,6 @@ public class BungeeEncodeHandler extends MessageToMessageEncoder { if (player.getServer() != null) { if (player.getServer() != null && !player.getServer().getInfo().getName().equals(storage.getCurrentServer())) { - - System.out.println("Server change " + player.getServer().getInfo().getName() + " curr" + storage.getCurrentServer()); String serverName = player.getServer().getInfo().getName(); storage.setCurrentServer(serverName); @@ -144,8 +142,6 @@ public class BungeeEncodeHandler extends MessageToMessageEncoder { Object entityMap = Class.forName("net.md_5.bungee.entitymap.EntityMap").getDeclaredMethod("getEntityMap", int.class).invoke(null, protocolId); ReflectionUtil.set(player, "entityRewrite", entityMap); - - System.out.println("VERSION:" + ((net.md_5.bungee.UserConnection) player).getPendingConnection().getVersion()); } } }