- Removed "Game Info" in the name of the scoreboard.
This commit is contained in:
parent
8c5dbbdd95
commit
78673d5da4
@ -14,8 +14,7 @@ public class ScoreboardHandler {
|
||||
Scoreboard board = Bukkit.getScoreboardManager().getNewScoreboard();
|
||||
Objective object = board.registerNewObjective(arena.arenaName, "dummy");
|
||||
object.setDisplaySlot(DisplaySlot.SIDEBAR);
|
||||
object.setDisplayName(MessageM.replaceAll(MessageM.CType.TAG()
|
||||
+ "%NGame Info"));
|
||||
object.setDisplayName(MessageM.replaceAll(MessageM.CType.TAG()));
|
||||
Score timeleft = object.getScore(Bukkit.getOfflinePlayer(MessageM
|
||||
.replaceAll("%ATime left:")));
|
||||
timeleft.setScore(arena.timer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user