Removed Ping! (It was spamming the console)

This commit is contained in:
Norbi Peti 2016-11-12 20:40:08 +01:00
parent e089d8ff12
commit eefc647347

View file

@ -25,7 +25,7 @@ public class gPowerApplyingTask extends BukkitRunnable{
//REPEATS EVERY 5 SECONDS //REPEATS EVERY 5 SECONDS
@Override @Override
public void run() { public void run() {
server.broadcastMessage("ping!"); //server.broadcastMessage("ping!");
for (Player player : server.getOnlinePlayers()){ for (Player player : server.getOnlinePlayers()){
if(poweredPlayerList.containsKey(player.getUniqueId()) && poweredPlayerList.get(player.getUniqueId()).isPowersActive){ if(poweredPlayerList.containsKey(player.getUniqueId()) && poweredPlayerList.get(player.getUniqueId()).isPowersActive){
activatePower(player, poweredPlayerList.get(player.getUniqueId()).colour); activatePower(player, poweredPlayerList.get(player.getUniqueId()).colour);