From 930a59c68c18129b3d00f61e2237e8d10215093f Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Fri, 29 Jan 2016 10:29:12 +0000 Subject: [PATCH] Remove the length limit on inventory titles 1.8 no longer has a small limit like previous versions --- .../org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java index 947c4939d1..e99b8ccae7 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventoryCustom.java @@ -56,7 +56,6 @@ public class CraftInventoryCustom extends CraftInventory { public MinecraftInventory(InventoryHolder owner, int size, String title) { Validate.notNull(title, "Title cannot be null"); - Validate.isTrue(title.length() <= 32, "Title cannot be longer than 32 characters"); this.items = new ItemStack[size]; this.title = title; this.viewers = new ArrayList();