mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 10:57:47 +01:00
Remove the length limit on inventory titles
1.8 no longer has a small limit like previous versions
This commit is contained in:
parent
75593ab621
commit
930a59c68c
@ -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<HumanEntity>();
|
||||
|
Loading…
Reference in New Issue
Block a user