make the new facedir code behave better.

This commit is contained in:
Jordach 2017-12-10 21:11:13 +00:00
parent 0a9bc1d1fa
commit d4b9ff0648

View File

@ -184,7 +184,7 @@ function mcore.sensible_facedir(itemstack, placer, pointed_thing)
local pz = math.ceil(math.abs(placer:get_pos().z - rpos.z))
if px < 2 and pz < 2 then
if px < 3 and pz < 3 then
local pY = math.ceil(math.abs(placer:get_pos().y + 0.5))