aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/events/MaskCommands.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/events/MaskCommands.kt')
-rw-r--r--src/main/kotlin/moe/nea/firmament/events/MaskCommands.kt13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/events/MaskCommands.kt b/src/main/kotlin/moe/nea/firmament/events/MaskCommands.kt
deleted file mode 100644
index 35aade0..0000000
--- a/src/main/kotlin/moe/nea/firmament/events/MaskCommands.kt
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-package moe.nea.firmament.events
-
-import com.mojang.brigadier.CommandDispatcher
-
-data class MaskCommands(val dispatcher: CommandDispatcher<*>) : FirmamentEvent() {
- companion object : FirmamentEventBus<MaskCommands>()
-
- fun mask(name: String) {
- dispatcher.root.children.removeIf { it.name.equals(name, ignoreCase = true) }
- }
-}