3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-20 21:40:06 +01:00

Remove the length limit on inventory titles

1.8 no longer has a small limit like previous versions
Dieser Commit ist enthalten in:
Thinkofdeath 2016-01-29 10:29:12 +00:00
Ursprung 75593ab621
Commit 930a59c68c

Datei anzeigen

@ -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>();