0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-20 01:12:13 +02:00

Itemlist max length 256

This commit is contained in:
TheWienerMaster 2021-06-17 17:54:43 +03:00 committed by GitHub
parent aa96f405fa
commit 7eaad886fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ public final class EditItemListScreen extends Screen
itemNameField = new TextFieldWidget(client.textRenderer,
width / 2 - 152, height - 55, 150, 18, new LiteralText(""));
addSelectableChild(itemNameField);
itemNameField.setMaxLength(64);
itemNameField.setMaxLength(256);
addDrawableChild(addButton = new ButtonWidget(width / 2 - 2,
height - 56, 30, 20, new LiteralText("Add"), b -> {