Copy link
@sfan5

sfan5 Mar 26, 2015

Member

This if should be enough, all other conditions (pos == nil or minetest.facedir_to_dir(node.param2) == nil) are caused by other bugs in the code which should be fixed instead of having a check here,