Skip to content

Commit

Permalink
stupid mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
ImToggle committed Apr 27, 2024
1 parent f2c9ab0 commit 53cfedd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/main/kotlin/org/polyfrost/chatting/Chatting.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import net.minecraft.client.renderer.OpenGlHelper
import net.minecraft.client.settings.KeyBinding
import net.minecraft.client.shader.Framebuffer
import net.minecraft.util.MathHelper
import net.minecraftforge.client.event.RenderGameOverlayEvent
import net.minecraftforge.common.MinecraftForge.EVENT_BUS
import net.minecraftforge.fml.client.registry.ClientRegistry
import net.minecraftforge.fml.common.Loader
Expand Down Expand Up @@ -78,22 +77,12 @@ object Chatting {
ChattingConfig
CommandManager.INSTANCE.registerCommand(ChattingCommand())
ClientRegistry.registerKeyBinding(keybind)
EventManager.INSTANCE.register(this)
EVENT_BUS.register(this)
EVENT_BUS.register(ChatSpamBlock)
ChatTabs.initialize()
ChatShortcuts.initialize()
}

@Subscribe
fun onInit(e: InitializationEvent) {
runAsync {
while (true) {
println("HI")
}
}
}

@Mod.EventHandler
fun onPostInitialization(event: FMLPostInitializationEvent) {
isPatcher = Loader.isModLoaded("patcher")
Expand Down

0 comments on commit 53cfedd

Please sign in to comment.