mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 06:13:17 -04:00
Return S(message) when running /home in irc/discord
(Supports translations)
This commit is contained in:
parent
eb554a26bd
commit
dc845b9f3e
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ minetest.register_chatcommand("home", {
|
|||
func = function(name)
|
||||
local player = minetest.get_player_by_name(name)
|
||||
if not player then
|
||||
return false, "This command can be executed in-game only"
|
||||
return false, S("This command can be executed in-game only!")
|
||||
end
|
||||
if sethome.go(name) then
|
||||
return true, S("Teleported to home!")
|
||||
|
|
Loading…
Add table
Reference in a new issue