This commit is contained in:
alisolarflare 2016-11-13 17:00:11 -05:00
commit ef91b1a54c

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