From ca1cf885f9c7e2c6fcdf31c697a22f0e984d7525 Mon Sep 17 00:00:00 2001 From: Cow Date: Fri, 18 Dec 2020 13:41:20 +0100 Subject: Fixed some possible problems with bad server connection - Fixed sending offline messages - Fixed rare occurrence of repeated triggering of server join and leave events --- src/main/java/de/cowtipper/cowlection/util/VersionChecker.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java/de/cowtipper/cowlection/util/VersionChecker.java') diff --git a/src/main/java/de/cowtipper/cowlection/util/VersionChecker.java b/src/main/java/de/cowtipper/cowlection/util/VersionChecker.java index 7f859a6..4fd465e 100644 --- a/src/main/java/de/cowtipper/cowlection/util/VersionChecker.java +++ b/src/main/java/de/cowtipper/cowlection/util/VersionChecker.java @@ -124,8 +124,7 @@ public class VersionChecker { main.getChatHelper().sendMessage(statusMsg); } else { IChatComponent finalStatusMsg = statusMsg; - new TickDelay(() -> main.getChatHelper().sendMessage(finalStatusMsg) - , 6 * 20); + new TickDelay(() -> main.getChatHelper().sendMessage(finalStatusMsg), 6 * 20); } } } -- cgit