diff options
Diffstat (limited to 'src/main/java/me')
-rw-r--r-- | src/main/java/me/Danker/features/DungeonTimer.java | 2 | ||||
-rw-r--r-- | src/main/java/me/Danker/features/NecronNotifications.java | 2 | ||||
-rw-r--r-- | src/main/java/me/Danker/features/WatcherReadyAlert.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/me/Danker/features/DungeonTimer.java b/src/main/java/me/Danker/features/DungeonTimer.java index 5929f05..394f2de 100644 --- a/src/main/java/me/Danker/features/DungeonTimer.java +++ b/src/main/java/me/Danker/features/DungeonTimer.java @@ -22,7 +22,7 @@ public class DungeonTimer { static int dungeonDeaths = 0; static int puzzleFails = 0; - @SubscribeEvent + @SubscribeEvent(receiveCanceled = true) public void onChat(ClientChatReceivedEvent event) { String message = StringUtils.stripControlCodes(event.message.getUnformattedText()); diff --git a/src/main/java/me/Danker/features/NecronNotifications.java b/src/main/java/me/Danker/features/NecronNotifications.java index a1d4d26..d35996c 100644 --- a/src/main/java/me/Danker/features/NecronNotifications.java +++ b/src/main/java/me/Danker/features/NecronNotifications.java @@ -18,7 +18,7 @@ import java.util.List; public class NecronNotifications { - @SubscribeEvent + @SubscribeEvent(receiveCanceled = true) public void onChat(ClientChatReceivedEvent event) { String message = StringUtils.stripControlCodes(event.message.getUnformattedText()); diff --git a/src/main/java/me/Danker/features/WatcherReadyAlert.java b/src/main/java/me/Danker/features/WatcherReadyAlert.java index b68ccc2..ca3777b 100644 --- a/src/main/java/me/Danker/features/WatcherReadyAlert.java +++ b/src/main/java/me/Danker/features/WatcherReadyAlert.java @@ -9,7 +9,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; public class WatcherReadyAlert { - @SubscribeEvent + @SubscribeEvent(receiveCanceled = true) public void onChat(ClientChatReceivedEvent event) { String message = StringUtils.stripControlCodes(event.message.getUnformattedText()); |