Skip to content

Commit

Permalink
Increased the maximum size of the scoreboard's title to 32 characters.
Browse files Browse the repository at this point in the history
(I.e. the maximal size defined by Minecraft Vanilla.)
  • Loading branch information
AmauryCarrade committed Aug 14, 2014
1 parent 59fa67f commit cd48901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/azenet/UHPlugin/UHScoreboardManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public void setScoreboardForPlayer(Player p) {

public String getScoreboardName() {
String s = p.getConfig().getString("scoreboard.title", "Kill the Patrick");
return s.substring(0, Math.min(s.length(), 16));
return s.substring(0, Math.min(s.length(), 32));
}

public Scoreboard getScoreboard() {
Expand Down

0 comments on commit cd48901

Please sign in to comment.