diff options
author | My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> | 2020-12-21 18:20:12 -0500 |
---|---|---|
committer | My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> | 2020-12-21 18:20:12 -0500 |
commit | e0511bf26ceb14b429f44ec01b9448a13f203791 (patch) | |
tree | 6c718d7a5d7200856293cf53bda4be3fa1467ce2 /src/main/java | |
parent | 8f9b562c093d99a40bb4ea9af61131331f1b0c31 (diff) | |
download | SkyblockMod-e0511bf26ceb14b429f44ec01b9448a13f203791.tar.gz SkyblockMod-e0511bf26ceb14b429f44ec01b9448a13f203791.tar.bz2 SkyblockMod-e0511bf26ceb14b429f44ec01b9448a13f203791.zip |
Add 2 second delay before notices are sent
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/me/Danker/DankersSkyblockMod.java | 10 |
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" + |