Server: name vanilla's stop path in the comment

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Ludovic MarieandClaude Opus 5.5 committed 2026-11-04 10:36:38 +01:00
1 parent eb03a89c7c
commit e132eeba6c
1 file changed
+1 -1
@@ -27,7 +27,7 @@ pub fn call(shared: &Shared, client: u32, short: &str, argument: &Value) -> Resu
game.console(if flush { "save-all flush" } else { "save-all" })?;
Ok(json!(true))
}
// `ServerStateService.halt` → `MinecraftServer.halt(false)`: the server stops and its process exits.
// `ServerStateService.stop` submits `MinecraftServer.halt(false)`: the server stops and its process exits.
"server/stop" => {
shared.shut_down();
Ok(json!(true))