From fa17792cbaa9e4a2291c04cff757dd79fbfd978e Mon Sep 17 00:00:00 2001 From: Craig Date: Tue, 8 Apr 2014 08:23:34 +0100 Subject: Bug fix with construction fence If you placed the construction fence and not leave enough space it would crash the game. --- constructionarea/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'constructionarea') diff --git a/constructionarea/init.lua b/constructionarea/init.lua index d9e328b..6ae32fe 100644 --- a/constructionarea/init.lua +++ b/constructionarea/init.lua @@ -29,7 +29,7 @@ minetest.register_node(":streets:constructionfence_bottom",{ if minetest.get_node(pos).name == "air" then minetest.add_node(pos,{name = "streets:constructionfence_top", param2 = minetest.dir_to_facedir(placer:get_look_dir())}) else - minetest.chat_send_player(placer:get_player_name("Not enough free space! A construction fence has a height of 2 blocks!")) + minetest.chat_send_player(placer:get_player_name(),"Not enough free space! A construction fence has a height of 2 blocks!") end end }) -- cgit v1.2.3