Rename test command.

This commit is contained in:
SFENCE 2024-03-29 20:28:37 +01:00
parent 4641559785
commit 10aea4984b
1 changed files with 3 additions and 3 deletions

View File

@ -242,10 +242,10 @@ core.register_chatcommand("set_saturation", {
end
})
core.register_chatcommand("reboot_with_rejoin", {
core.register_chatcommand("shutdown_with_reconnect", {
params = "",
description = "Imidiately reboot server with reconnect request.",
description = "Shutdown server with reconnect request.",
func = function(player_name, param)
minetest.request_shutdown("Rebooting with reconnect.", true, 5)
minetest.request_shutdown("Shutdown with reconnect.", true, 5)
end
})