summaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/kowalski
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-02-22 23:32:11 +0100
committerLinnea Gräf <nea@nea.moe>2024-02-22 23:32:11 +0100
commita8a87765885905b603a9c121ed5260da51ae3a77 (patch)
treedcbe2349b3c7e3dd1566af871e6f57e431461d75 /src/main/kotlin/moe/nea/kowalski
parentaef074886b587745bd814fe965d55e7b4cf11a07 (diff)
downloadKowalski-master.tar.gz
Kowalski-master.tar.bz2
Kowalski-master.zip
Fix static loadingHEADmaster
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)