Removed Annoying Debug Messages

This commit is contained in:
alisolarflare 2016-10-21 22:36:31 -04:00
parent 09526c3820
commit d4e6b6ad6e
2 changed files with 1 additions and 6 deletions

View file

@ -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

View file

@ -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);