mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-11 02:21:38 -10:00
Server: name vanilla's stop path in the comment
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
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))
|
||||
|
||||
Reference in new issue
Block a user