From 60aa1d536cba463bbe29db88c441b7114d0f5b04 Mon Sep 17 00:00:00 2001 From: Cow Date: Fri, 14 Oct 2022 13:55:24 +0200 Subject: Increase character limit for Party Finder Rules --- CHANGELOG.md | 1 + src/main/java/de/cowtipper/cowlection/partyfinder/RuleEditorGui.java | 1 + 2 files changed, 2 insertions(+) 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()); -- cgit