mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
Merge with Spigot
da32fe1d549 <- Increase max scoreboard objective size
This commit is contained in:
parent
c78777957f
commit
110b463d27
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
|
||||
public Score getScore(String entry) throws IllegalArgumentException, IllegalStateException {
|
||||
Validate.notNull(entry, "Entry cannot be null");
|
||||
+ if (entry.length() > 16) throw new IllegalArgumentException("Entry cannot be longer than 16 characters!"); // Spigot
|
||||
+ if (entry.length() > 40) throw new IllegalArgumentException("Entry cannot be longer than 40 characters!"); // Spigot
|
||||
CraftScoreboard scoreboard = checkState();
|
||||
|
||||
return new CraftScore(this, entry);
|
||||
|
|
Loading…
Reference in a new issue