aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/cowtipper/cowlection/util/VersionChecker.java
diff options
context:
space:
mode:
authorCow <cow@volloeko.de>2020-12-18 13:41:20 +0100
committerCow <cow@volloeko.de>2020-12-18 13:41:20 +0100
commitca1cf885f9c7e2c6fcdf31c697a22f0e984d7525 (patch)
tree443a6089020e1d3e4a3ff8bb6c62d1b5e504c190 /src/main/java/de/cowtipper/cowlection/util/VersionChecker.java
parent1b1b1c6293a184066e30cb98349f472a41e1c66d (diff)
downloadCowlection-ca1cf885f9c7e2c6fcdf31c697a22f0e984d7525.tar.gz
Cowlection-ca1cf885f9c7e2c6fcdf31c697a22f0e984d7525.tar.bz2
Cowlection-ca1cf885f9c7e2c6fcdf31c697a22f0e984d7525.zip
Fixed some possible problems with bad server connection
- Fixed sending offline messages - Fixed rare occurrence of repeated triggering of server join and leave events
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/util/VersionChecker.java')
-rw-r--r--src/main/java/de/cowtipper/cowlection/util/VersionChecker.java3
1 files changed, 1 insertions, 2 deletions
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);
}
}
}