diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-08-18 19:13:51 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-08-18 19:13:51 -0400 |
commit | 4bce023a8c60e165ea1627733f6ada2a2d966350 (patch) | |
tree | e1ea6ceab26b58634ee0af06cc811aa88155295f /src/main/java/me/Danker/TheMod.java | |
parent | 7d56e9f24622cc16b60c1e23c1affcb809bd6772 (diff) | |
download | SkyblockMod-4bce023a8c60e165ea1627733f6ada2a2d966350.tar.gz SkyblockMod-4bce023a8c60e165ea1627733f6ada2a2d966350.tar.bz2 SkyblockMod-4bce023a8c60e165ea1627733f6ada2a2d966350.zip |
Add Spirit Bear alerts
Diffstat (limited to 'src/main/java/me/Danker/TheMod.java')
-rw-r--r-- | src/main/java/me/Danker/TheMod.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/TheMod.java b/src/main/java/me/Danker/TheMod.java index c7025f9..a1fc23a 100644 --- a/src/main/java/me/Danker/TheMod.java +++ b/src/main/java/me/Danker/TheMod.java @@ -751,6 +751,11 @@ public class TheMod } if (tc.chatMaddoxToggled) Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(EnumChatFormatting.GREEN + "Click anywhere in chat to open Maddox")); } + + // Spirit Bear alerts + if (message.contains("The Spirit Bear has appeared!")) { + if (tc.spiritBearAlerts) Utils.createTitle(EnumChatFormatting.DARK_PURPLE + "SPIRIT BEAR", 2); + } } @SubscribeEvent |