diff options
author | Craig <craig.davison3@gmail.com> | 2014-04-08 08:23:34 +0100 |
---|---|---|
committer | Craig <craig.davison3@gmail.com> | 2014-04-08 08:23:34 +0100 |
commit | fa17792cbaa9e4a2291c04cff757dd79fbfd978e (patch) | |
tree | d025ead15ce23d3d70945809fb2c04cebbc8d0e8 /constructionarea | |
parent | 893a2da6624991771dde8057b1fb4483e6181f49 (diff) | |
download | roads-fa17792cbaa9e4a2291c04cff757dd79fbfd978e.tar roads-fa17792cbaa9e4a2291c04cff757dd79fbfd978e.tar.gz roads-fa17792cbaa9e4a2291c04cff757dd79fbfd978e.tar.bz2 roads-fa17792cbaa9e4a2291c04cff757dd79fbfd978e.tar.xz roads-fa17792cbaa9e4a2291c04cff757dd79fbfd978e.zip |
Bug fix with construction fence
If you placed the construction fence and not leave enough space it would
crash the game.
Diffstat (limited to 'constructionarea')
-rw-r--r-- | constructionarea/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 }) |