Removed Annoying Debug Messages
This commit is contained in:
parent
09526c3820
commit
d4e6b6ad6e
2 changed files with 1 additions and 6 deletions
|
@ -23,11 +23,7 @@ public class gPowerMemory{
|
||||||
public static void PowerUpPlayer(Player player, String colour){
|
public static void PowerUpPlayer(Player player, String colour){
|
||||||
//debug("POWERRRED UP");
|
//debug("POWERRRED UP");
|
||||||
player.sendMessage("POWERRED UP!");
|
player.sendMessage("POWERRED UP!");
|
||||||
if (PlayerMap.containsKey(player.getUniqueId())){
|
PlayerMap.put(player.getUniqueId(), new poweredPlayer(player.getUniqueId(), colour, true));
|
||||||
PlayerMap.get(player.getUniqueId()).playerPowersActivated = true;
|
|
||||||
}else{
|
|
||||||
PlayerMap.put(player.getUniqueId(), new poweredPlayer(player.getUniqueId(), colour, true));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//POWER DEACTIVATION
|
//POWER DEACTIVATION
|
||||||
|
|
|
@ -21,7 +21,6 @@ public class gPowerApplyingTask extends BukkitRunnable{
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
for (Player player : plugin.getServer().getOnlinePlayers()){
|
for (Player player : plugin.getServer().getOnlinePlayers()){
|
||||||
player.sendMessage(player.getUniqueId().toString());
|
|
||||||
player.sendMessage(gPowerMemory.PlayerMap.toString());
|
player.sendMessage(gPowerMemory.PlayerMap.toString());
|
||||||
if(gPowerMemory.PlayerMap.containsKey(player.getUniqueId())){
|
if(gPowerMemory.PlayerMap.containsKey(player.getUniqueId())){
|
||||||
activatePower(player, gPowerMemory.PlayerMap.get(player.getUniqueId()).colour);
|
activatePower(player, gPowerMemory.PlayerMap.get(player.getUniqueId()).colour);
|
||||||
|
|
Loading…
Reference in a new issue