From 110b463d276f1ebf52a24444847e28186f9318c2 Mon Sep 17 00:00:00 2001 From: Zach Brown <1254957+zachbr@users.noreply.github.com> Date: Wed, 3 Dec 2014 18:13:06 -0600 Subject: [PATCH] Merge with Spigot da32fe1d549 <- Increase max scoreboard objective size --- CraftBukkit-Patches/0122-Cap-Objective-Score-Length.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CraftBukkit-Patches/0122-Cap-Objective-Score-Length.patch b/CraftBukkit-Patches/0122-Cap-Objective-Score-Length.patch index 152da099fb..a1d0634c08 100644 --- a/CraftBukkit-Patches/0122-Cap-Objective-Score-Length.patch +++ b/CraftBukkit-Patches/0122-Cap-Objective-Score-Length.patch @@ -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);