diff options
author | Linnea Gräf <nea@nea.moe> | 2024-02-22 23:32:11 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-02-22 23:32:11 +0100 |
commit | a8a87765885905b603a9c121ed5260da51ae3a77 (patch) | |
tree | dcbe2349b3c7e3dd1566af871e6f57e431461d75 /src/main/kotlin/moe/nea/kowalski/Kowalski.kt | |
parent | aef074886b587745bd814fe965d55e7b4cf11a07 (diff) | |
download | Kowalski-master.tar.gz Kowalski-master.tar.bz2 Kowalski-master.zip |
Diffstat (limited to 'src/main/kotlin/moe/nea/kowalski/Kowalski.kt')
-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) |