aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker
diff options
context:
space:
mode:
authorMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2020-12-21 18:20:12 -0500
committerMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2020-12-21 18:20:12 -0500
commite0511bf26ceb14b429f44ec01b9448a13f203791 (patch)
tree6c718d7a5d7200856293cf53bda4be3fa1467ce2 /src/main/java/me/Danker
parent8f9b562c093d99a40bb4ea9af61131331f1b0c31 (diff)
downloadSkyblockMod-e0511bf26ceb14b429f44ec01b9448a13f203791.tar.gz
SkyblockMod-e0511bf26ceb14b429f44ec01b9448a13f203791.tar.bz2
SkyblockMod-e0511bf26ceb14b429f44ec01b9448a13f203791.zip
Add 2 second delay before notices are sent
Diffstat (limited to 'src/main/java/me/Danker')
-rw-r--r--src/main/java/me/Danker/DankersSkyblockMod.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java
index d4d9b47..07aa188 100644
--- a/src/main/java/me/Danker/DankersSkyblockMod.java
+++ b/src/main/java/me/Danker/DankersSkyblockMod.java
@@ -345,6 +345,11 @@ public class DankersSkyblockMod {
}
continue;
}
+ try {
+ Thread.sleep(2000);
+ } catch (InterruptedException e) {
+ e.printStackTrace();
+ }
Minecraft.getMinecraft().thePlayer.addChatMessage(chatComponent);
break;
}
@@ -364,6 +369,11 @@ public class DankersSkyblockMod {
e.printStackTrace();
}
} else {
+ try {
+ Thread.sleep(2000);
+ } catch (InterruptedException e) {
+ e.printStackTrace();
+ }
Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(EnumChatFormatting.RED +
"You are using spiderfrog's OldAnimationsMod.\n" +
"Danker's Skyblock Mod is incompatible with OldAnimationsMod.\n" +