Scoreboard update - Blinking

Discussion in 'Forum Three' started by DACA, Oct 12, 2017.

  1. DACA

    DACA Guest

    Hi, in Sheduler i update scoreboard every 1 second with this method:
    Code:


    public static Scoreboard board;
    public static HashMap<String, String> map = new HashMap<>();

    public static void update(){

    for (Player p : Bukkit.getOnlinePlayers()){

    board = p.getScoreboard();
    Objective o = board.getObjective("minigame");

    if (o == null) {
    o = board.registerNewObjective("minigame", "dummy");
    }...
    Scoreboard update - Blinking
     

Share This Page

Forums Teetk

Teetk

Forums