diff options
author | Lorenz <ESs95s3P5z8Pheb> | 2022-07-08 13:29:29 +0200 |
---|---|---|
committer | Lorenz <ESs95s3P5z8Pheb> | 2022-07-08 13:29:29 +0200 |
commit | 07ccd2ac5f80679f353f26593c38e497e9de38c3 (patch) | |
tree | 8604ffa6e7546b5ab4728a8a7bbce3c41ba3265e /src/main/java/com | |
parent | a4861334a90c7f87318dba5bcbf5ae738fb4136a (diff) | |
download | skyhanni-07ccd2ac5f80679f353f26593c38e497e9de38c3.tar.gz skyhanni-07ccd2ac5f80679f353f26593c38e497e9de38c3.tar.bz2 skyhanni-07ccd2ac5f80679f353f26593c38e497e9de38c3.zip |
moved player chat messages into separate setting
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/LorenzMod.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/LorenzMod.java b/src/main/java/com/thatgravyboat/skyblockhud/LorenzMod.java index 94e745476..18a1b32b4 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/LorenzMod.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/LorenzMod.java @@ -6,6 +6,7 @@ import at.lorenz.mod.bazaar.BazaarApi; import at.lorenz.mod.bazaar.BazaarOrderHelper; import at.lorenz.mod.chat.ChatFilter; import at.lorenz.mod.chat.ChatManager; +import at.lorenz.mod.chat.PlayerChatFilter; import at.lorenz.mod.config.Features; import at.lorenz.mod.dungeon.DungeonChatFilter; import at.lorenz.mod.dungeon.DungeonHighlightClickedBlocks; @@ -47,11 +48,12 @@ public class LorenzMod { @EventHandler public void preInit(FMLPreInitializationEvent event) { new BazaarApi(); - MinecraftForge.EVENT_BUS.register(this); - MinecraftForge.EVENT_BUS.register(new BazaarOrderHelper()); MinecraftForge.EVENT_BUS.register(new ChatManager()); + + MinecraftForge.EVENT_BUS.register(new BazaarOrderHelper()); MinecraftForge.EVENT_BUS.register(new ChatFilter()); + MinecraftForge.EVENT_BUS.register(new PlayerChatFilter()); MinecraftForge.EVENT_BUS.register(new DungeonChatFilter()); MinecraftForge.EVENT_BUS.register(new HideNotClickableItems()); MinecraftForge.EVENT_BUS.register(new DungeonHighlightClickedBlocks()); |