From a8a87765885905b603a9c121ed5260da51ae3a77 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 22 Feb 2024 23:32:11 +0100 Subject: Fix static loading --- src/main/kotlin/moe/nea/kowalski/Kowalski.kt | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/main/kotlin/moe/nea/kowalski/Kowalski.kt') diff --git a/src/main/kotlin/moe/nea/kowalski/Kowalski.kt b/src/main/kotlin/moe/nea/kowalski/Kowalski.kt index 2bede19..68c69ec 100644 --- a/src/main/kotlin/moe/nea/kowalski/Kowalski.kt +++ b/src/main/kotlin/moe/nea/kowalski/Kowalski.kt @@ -35,12 +35,6 @@ class Kowalski { } - @SubscribeEvent - fun cancelMessages(event: ClientChatReceivedEvent) { - if (event.message.unformattedText.contains("verboten")) - event.isCanceled = true - } - @Mod.EventHandler fun init(event: FMLInitializationEvent) { ClientCommandHandler.instance.registerCommand(KowalskiCommand) -- cgit