aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/main/java/de/cowtipper/cowlection/partyfinder/RuleEditorGui.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 328df89..9c9ef3a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,6 +27,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- `/moo search`: Allow empty search query (= returns all log entries between start and end date)
- `/moo stalkskyblock`: replaced "last played" with "last time *someone* played on the selected profile"
- (technical change: no longer fire `ClientChatReceivedEvent` when sending a mod-internal chat message, as too many other mods have had problems with it)
+- Party Finder Rules Editor: increased character limit per rule from 32 to 255
### Fixed
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());