aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/cowtipper/cowlection/partyfinder/RuleEditorGui.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/partyfinder/RuleEditorGui.java')
-rw-r--r--src/main/java/de/cowtipper/cowlection/partyfinder/RuleEditorGui.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/partyfinder/RuleEditorGui.java b/src/main/java/de/cowtipper/cowlection/partyfinder/RuleEditorGui.java
index 3c2650b..60f6b81 100644
--- a/src/main/java/de/cowtipper/cowlection/partyfinder/RuleEditorGui.java
+++ b/src/main/java/de/cowtipper/cowlection/partyfinder/RuleEditorGui.java
@@ -368,6 +368,7 @@ public class RuleEditorGui extends GuiScreen {
// trigger:
this.fieldTrigger = new GuiTextField(52, fontRendererObj, 0, 0, 120, 12);
+ this.fieldTrigger.setMaxStringLength(255);
this.fieldTrigger.setText(rule.getTriggerText());
this.fieldTriggerTooltip = new ArrayList<>();
this.btnTriggerType = new GuiButtonExt(50, 0, 0, 36, 14, this.rule.getTriggerType().toButtonText());