Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void startTimerPlus(Player p) {
- Main.state = GameStates.CHALLENGE;
- Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(plugin, new Runnable() {
- @Override
- public void run() {
- p.sendMessage("ye");
- if(Settings.timerrun == true) {
- String msg = "Zeit: " + Settings.timer;
- Timer_Countdown.sendActionbar(p, msg);
- Settings.timer ++;
- } else {
- }
- }
- }, 0L, 20L);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement