diff options
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; |