Merge pull request #8 from CraigyDavi/master

Bug fix with construction fence
This commit is contained in:
Christian 2014-04-08 14:31:47 +02:00
commit 73558fa596

View File

@ -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
})