From d4e6b6ad6eb6e8fbaf7e27c19bb7de2922aa07d7 Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Fri, 21 Oct 2016 22:36:31 -0400 Subject: [PATCH] Removed Annoying Debug Messages --- src/alisolarflare/gpowers/gPowerMemory.java | 6 +----- src/alisolarflare/gpowers/listeners/gPowerApplyingTask.java | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/alisolarflare/gpowers/gPowerMemory.java b/src/alisolarflare/gpowers/gPowerMemory.java index 61f461d..c121f40 100644 --- a/src/alisolarflare/gpowers/gPowerMemory.java +++ b/src/alisolarflare/gpowers/gPowerMemory.java @@ -23,11 +23,7 @@ public class gPowerMemory{ public static void PowerUpPlayer(Player player, String colour){ //debug("POWERRRED UP"); player.sendMessage("POWERRED UP!"); - if (PlayerMap.containsKey(player.getUniqueId())){ - PlayerMap.get(player.getUniqueId()).playerPowersActivated = true; - }else{ - PlayerMap.put(player.getUniqueId(), new poweredPlayer(player.getUniqueId(), colour, true)); - } + PlayerMap.put(player.getUniqueId(), new poweredPlayer(player.getUniqueId(), colour, true)); } //POWER DEACTIVATION diff --git a/src/alisolarflare/gpowers/listeners/gPowerApplyingTask.java b/src/alisolarflare/gpowers/listeners/gPowerApplyingTask.java index 381d309..efe1996 100644 --- a/src/alisolarflare/gpowers/listeners/gPowerApplyingTask.java +++ b/src/alisolarflare/gpowers/listeners/gPowerApplyingTask.java @@ -21,7 +21,6 @@ public class gPowerApplyingTask extends BukkitRunnable{ @Override public void run() { for (Player player : plugin.getServer().getOnlinePlayers()){ - player.sendMessage(player.getUniqueId().toString()); player.sendMessage(gPowerMemory.PlayerMap.toString()); if(gPowerMemory.PlayerMap.containsKey(player.getUniqueId())){ activatePower(player, gPowerMemory.PlayerMap.get(player.getUniqueId()).colour);