From b9c5f23a671c50422303bf50e315d364b1354acf Mon Sep 17 00:00:00 2001 From: Cow Date: Sun, 26 Jul 2020 15:25:03 +0200 Subject: Small fixes - Remove ": " when copying chat messages - Fix dungeon tooltip cleaner cleaning a little bit too much - Temporary work-around to fix crash with other mods not being able to handle offline messages --- src/main/java/eu/olli/cowlection/util/VersionChecker.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/main/java/eu/olli/cowlection/util') 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); + } } } -- cgit