diff options
Diffstat (limited to 'src/main/kotlin/moe/nea')
-rw-r--r-- | src/main/kotlin/moe/nea/kowalski/Kowalski.kt | 6 |
1 files changed, 0 insertions, 6 deletions
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) |