mirror of
https://github.com/minetest-mods/areas.git
synced 2024-12-22 21:02:22 +01:00
Fix crash with invalid number passed to select_area
This commit is contained in:
parent
e86c760c78
commit
547fa726bf
1
pos.lua
1
pos.lua
@ -19,6 +19,7 @@ minetest.register_chatcommand("select_area", {
|
||||
if not id then
|
||||
minetest.chat_send_player(name,
|
||||
"Invalid usage, see /help select_area.")
|
||||
return
|
||||
end
|
||||
|
||||
for k, area in pairs(areas.areas) do
|
||||
|
Loading…
Reference in New Issue
Block a user