diff options
author | Cow <cow@volloeko.de> | 2020-07-23 17:12:32 +0200 |
---|---|---|
committer | Cow <cow@volloeko.de> | 2020-07-23 17:12:32 +0200 |
commit | 265c2eb4cfbdce3184c48855fba5f1250f2b8797 (patch) | |
tree | d6c4382695becd6d4c6c30b7f050c7c3c50ebdcf /src/main/java/eu/olli/cowlection/util/ChatHelper.java | |
parent | 745a7c428971ed08eb91057a7c8a4ba18825a54f (diff) | |
download | Cowlection-265c2eb4cfbdce3184c48855fba5f1250f2b8797.tar.gz Cowlection-265c2eb4cfbdce3184c48855fba5f1250f2b8797.tar.bz2 Cowlection-265c2eb4cfbdce3184c48855fba5f1250f2b8797.zip |
Added /rr command
Same as /r but without auto-replacement to /msg <latest name>
Diffstat (limited to 'src/main/java/eu/olli/cowlection/util/ChatHelper.java')
-rw-r--r-- | src/main/java/eu/olli/cowlection/util/ChatHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/olli/cowlection/util/ChatHelper.java b/src/main/java/eu/olli/cowlection/util/ChatHelper.java index 202390f..54e5739 100644 --- a/src/main/java/eu/olli/cowlection/util/ChatHelper.java +++ b/src/main/java/eu/olli/cowlection/util/ChatHelper.java @@ -17,7 +17,7 @@ import java.util.regex.Pattern; public class ChatHelper { private static final Pattern USELESS_JSON_CONTENT_PATTERN = Pattern.compile("\"[A-Za-z]+\":false,?"); private static final int DISPLAY_DURATION = 5000; - private List<IChatComponent> offlineMessages = new ArrayList<>(); + private final List<IChatComponent> offlineMessages = new ArrayList<>(); private String[] aboveChatMessage; private long aboveChatMessageExpiration; |