diff options
author | Cow <cow@volloeko.de> | 2022-10-14 13:55:24 +0200 |
---|---|---|
committer | Cow <cow@volloeko.de> | 2022-10-14 13:55:24 +0200 |
commit | 60aa1d536cba463bbe29db88c441b7114d0f5b04 (patch) | |
tree | 496d6a77a39a7ae81873f9ce8e1db52800d38fd0 | |
parent | b0f173a72689c26c2ed9d35a27fe18215a38e709 (diff) | |
download | Cowlection-60aa1d536cba463bbe29db88c441b7114d0f5b04.tar.gz Cowlection-60aa1d536cba463bbe29db88c441b7114d0f5b04.tar.bz2 Cowlection-60aa1d536cba463bbe29db88c441b7114d0f5b04.zip |
Increase character limit for Party Finder Rules
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/partyfinder/RuleEditorGui.java | 1 |
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()); |