mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 06:06:45 +01:00
14 lines
351 B
Java
14 lines
351 B
Java
package com.gmail.nossr50.runnables.player;
|
|
|
|
import com.gmail.nossr50.util.scoreboards.ScoreboardManager;
|
|
import org.bukkit.scheduler.BukkitRunnable;
|
|
|
|
public class PowerLevelUpdatingTask extends BukkitRunnable {
|
|
@Override
|
|
public void run() {
|
|
if (!ScoreboardManager.powerLevelHeartbeat()) {
|
|
this.cancel();
|
|
}
|
|
}
|
|
}
|