master
theFox6 2018-05-19 17:57:17 +02:00
parent e41f8b50fd
commit fe548faad2
1 changed files with 0 additions and 1 deletions

View File

@ -1,6 +1,5 @@
function working_villages.func.validate_pos(pos)
local resultp = vector.round(pos)
resultp = vector.subtract(resultp,{x=0,y=1,z=0})
local node = minetest.get_node(resultp)
if minetest.registered_nodes[node.name].walkable then
resultp = vector.subtract(pos, resultp)