summaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/kowalski
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/kowalski')
-rw-r--r--src/main/kotlin/moe/nea/kowalski/Kowalski.kt6
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)