Solved 1 line keeps disappearing from the scoreboard.

Discussion in 'Plugin Development' started by IconByte, Jun 1, 2015.

Thread Status:
Not open for further replies.
  1. Offline


    Hello, I am having problem that only 1 blank line on the scoreboard keeps disappearing for no reason. I have no idea what causes it, but when I type something to there, then the line appears... Any reasons, why?

                        arena.getScoreboard().getObjective("Obj").getScore("§fTime: §a" + timeString(arena.getTime())).setScore(3);
                        arena.getScoreboard().getObjective("Obj").getScore("").setScore(3); // << this line is disappearing
                        arena.getScoreboard().getObjective("Obj").getScore("§fPlayers: §a" + arena.getPlayers().size()).setScore(1);
    //EDIT: It doesn't wanna allow me to enter 2 blank lines. Blank line with score 3 is still disappeared even when I add new score with text between them.

    Thread, what fixed my problem:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jun 12, 2016
Thread Status:
Not open for further replies.

Share This Page