aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/eu/olli/cowlection/util/ChatHelper.java
diff options
context:
space:
mode:
authorCow <cow@volloeko.de>2020-07-23 17:12:32 +0200
committerCow <cow@volloeko.de>2020-07-23 17:12:32 +0200
commit265c2eb4cfbdce3184c48855fba5f1250f2b8797 (patch)
treed6c4382695becd6d4c6c30b7f050c7c3c50ebdcf /src/main/java/eu/olli/cowlection/util/ChatHelper.java
parent745a7c428971ed08eb91057a7c8a4ba18825a54f (diff)
downloadCowlection-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.java2
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;