mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2025-01-08 22:17:27 +01:00
Add "return" to "tpp" command
Forgot to add a missing function!
This commit is contained in:
parent
aeec8ce57a
commit
255b19f545
1
init.lua
1
init.lua
@ -381,6 +381,7 @@ if enable_tpp_command then
|
|||||||
-- Check if the place exists.
|
-- Check if the place exists.
|
||||||
elseif not available_places[param] then
|
elseif not available_places[param] then
|
||||||
minetest.chat_send_player(player, S("There is no place by that name. Keep in mind this is case-sensitive."))
|
minetest.chat_send_player(player, S("There is no place by that name. Keep in mind this is case-sensitive."))
|
||||||
|
return
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user