mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 21:48:48 +01:00
Remove the length limit on inventory titles
1.8 no longer has a small limit like previous versions By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
parent
99fbeecd40
commit
9dd1f7fef4
1 changed files with 0 additions and 1 deletions
|
@ -56,7 +56,6 @@ public class CraftInventoryCustom extends CraftInventory {
|
||||||
|
|
||||||
public MinecraftInventory(InventoryHolder owner, int size, String title) {
|
public MinecraftInventory(InventoryHolder owner, int size, String title) {
|
||||||
Validate.notNull(title, "Title cannot be null");
|
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.items = new ItemStack[size];
|
||||||
this.title = title;
|
this.title = title;
|
||||||
this.viewers = new ArrayList<HumanEntity>();
|
this.viewers = new ArrayList<HumanEntity>();
|
||||||
|
|
Loading…
Add table
Reference in a new issue