aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-11 15:48:07 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-11 15:48:07 -0400
commit77e6ac2fa318dec4add929f85992ddff7201d486 (patch)
tree90b5a1a044fc52bff0b4cd337619e94450ba1a8f /src/main/java/io
parentf92d9b4d2371f430bbeb3d4d02ed7d00ad3bc3e5 (diff)
downloadNotEnoughUpdates-77e6ac2fa318dec4add929f85992ddff7201d486.tar.gz
NotEnoughUpdates-77e6ac2fa318dec4add929f85992ddff7201d486.tar.bz2
NotEnoughUpdates-77e6ac2fa318dec4add929f85992ddff7201d486.zip
increase max string length for item editing
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/itemeditor/GuiElementTextField.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/itemeditor/GuiElementTextField.java b/src/main/java/io/github/moulberry/notenoughupdates/itemeditor/GuiElementTextField.java
index 7b279ac9..b460af36 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/itemeditor/GuiElementTextField.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/itemeditor/GuiElementTextField.java
@@ -42,7 +42,7 @@ public class GuiElementTextField extends GuiElement {
public GuiElementTextField(String initialText, int options) {
textField.setFocused(true);
textField.setCanLoseFocus(false);
- textField.setMaxStringLength(999);
+ textField.setMaxStringLength(9999);
textField.setText(initialText);
this.options = options;
}