aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/eu/olli/cowlection/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/eu/olli/cowlection/util')
-rw-r--r--src/main/java/eu/olli/cowlection/util/VersionChecker.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/eu/olli/cowlection/util/VersionChecker.java b/src/main/java/eu/olli/cowlection/util/VersionChecker.java
index 8f05beb..b1a9d48 100644
--- a/src/main/java/eu/olli/cowlection/util/VersionChecker.java
+++ b/src/main/java/eu/olli/cowlection/util/VersionChecker.java
@@ -120,7 +120,13 @@ public class VersionChecker {
}
if (statusMsg != null) {
- main.getChatHelper().sendMessage(statusMsg);
+ if (isCommandTriggered) {
+ main.getChatHelper().sendMessage(statusMsg);
+ } else {
+ IChatComponent finalStatusMsg = statusMsg;
+ new TickDelay(() -> main.getChatHelper().sendMessage(finalStatusMsg)
+ , 6 * 20);
+ }
}
}