From 547fa726bfe4c8e0c984bbda55962e801d873080 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sun, 8 Sep 2013 20:52:20 -0400 Subject: [PATCH] Fix crash with invalid number passed to select_area --- pos.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/pos.lua b/pos.lua index 0ff94d7..80ff5b5 100644 --- a/pos.lua +++ b/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