diff options
author | nea <nea@nea.moe> | 2023-10-21 17:28:00 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-10-21 17:28:00 +0200 |
commit | e887067b7ecfa9d8e040008cca8d26c194f8c1a5 (patch) | |
tree | 8c558ed23edabd7722bf869ce24d5561b6644e44 /src/main/kotlin/moe/nea/firmament/Firmament.kt | |
parent | bc758d17e2ac5c507117f85bf76b081a05f2baca (diff) | |
download | Firmament-e887067b7ecfa9d8e040008cca8d26c194f8c1a5.tar.gz Firmament-e887067b7ecfa9d8e040008cca8d26c194f8c1a5.tar.bz2 Firmament-e887067b7ecfa9d8e040008cca8d26c194f8c1a5.zip |
Add tab completion to /warp
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/Firmament.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/Firmament.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/Firmament.kt b/src/main/kotlin/moe/nea/firmament/Firmament.kt index 3681ab6..a81d66f 100644 --- a/src/main/kotlin/moe/nea/firmament/Firmament.kt +++ b/src/main/kotlin/moe/nea/firmament/Firmament.kt @@ -49,6 +49,7 @@ import moe.nea.firmament.events.registration.registerFirmamentChatEvents import moe.nea.firmament.features.FeatureManager import moe.nea.firmament.repo.HypixelStaticData import moe.nea.firmament.repo.RepoManager +import moe.nea.firmament.util.MC import moe.nea.firmament.util.SBData import moe.nea.firmament.util.data.IDataHolder @@ -107,7 +108,7 @@ object Firmament { ctx: CommandRegistryAccess ) { registerFirmamentCommand(dispatcher) - CommandEvent.publish(CommandEvent(dispatcher, ctx)) + CommandEvent.publish(CommandEvent(dispatcher, ctx, MC.networkHandler?.commandDispatcher)) } @JvmStatic |