Complete and color mod commands in the chat on the server thread

This commit is contained in:
Kaic Salomão
2026-10-25 02:49:22 -03:00
parent 891e1c1283
commit da150409ea
3 changed files with 27 additions and 1 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ fn chat_tree<'a>(
mods: &'a super::mods::ModsState,
) -> &'a horizon_client::command::Dispatcher {
match remote.as_ref().and_then(|r| r.commands.as_ref()) {
Some(tree) => tree,
Some(tree) => mods.remote_dispatcher().unwrap_or(tree),
None => mods.dispatcher(),
}
}