From 77350e51de9ec7284e748cd6bafe448bfb09ebeb Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Wed, 11 Feb 2015 00:58:21 +1300 Subject: [PATCH 1/2] Using the wrong servername in PlayerTracker --- .../src/mineplex/bungee/playerTracker/PlayerTracker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Bungee.Mineplexer/src/mineplex/bungee/playerTracker/PlayerTracker.java b/Plugins/Mineplex.Bungee.Mineplexer/src/mineplex/bungee/playerTracker/PlayerTracker.java index 40e3cb979..8fb015218 100644 --- a/Plugins/Mineplex.Bungee.Mineplexer/src/mineplex/bungee/playerTracker/PlayerTracker.java +++ b/Plugins/Mineplex.Bungee.Mineplexer/src/mineplex/bungee/playerTracker/PlayerTracker.java @@ -32,7 +32,7 @@ public class PlayerTracker implements Listener { public void run() { - _repository.updatePlayerServer(event.getPlayer().getName(), event.getPlayer().getServer().getInfo().getName()); + _repository.updatePlayerServer(event.getPlayer().getName(), event.getServer().getInfo().getName()); } }); } From 6b3f2114f2ba0510a42aae339de1294f2419b7b6 Mon Sep 17 00:00:00 2001 From: Shaun Bennett Date: Tue, 10 Feb 2015 13:27:29 -0500 Subject: [PATCH 2/2] Holy debug code! --- .../arcade/managers/GameLobbyManager.java | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameLobbyManager.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameLobbyManager.java index 9b1028065..c94fe36af 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameLobbyManager.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameLobbyManager.java @@ -1303,29 +1303,4 @@ public class GameLobbyManager implements Listener, IPacketHandler event.setCancelled(true); } - /** - * DEBUG - */ - @EventHandler - public void command(PlayerCommandPreprocessEvent event) - { - Player player = event.getPlayer(); - if (event.getMessage().startsWith("/enable")) - { - player.setGameMode(GameMode.CREATIVE); - player.setFlying(true); - player.setFlySpeed(0.1f); - ((CraftPlayer) player).getHandle().spectating = true; - ((CraftPlayer) player).getHandle().k = false; - } - else if (event.getMessage().startsWith("/disable")) - { - player.setGameMode(GameMode.SURVIVAL); - player.setFlying(false); - player.setFlySpeed(0.1f); - ((CraftPlayer) player).getHandle().spectating = false; - ((CraftPlayer) player).getHandle().k = true; - } - } - }