From b960db85df7ce14a7e1ad70b31c83399d93a2a2d Mon Sep 17 00:00:00 2001 From: orbea Date: Thu, 23 Apr 2020 05:09:39 -0700 Subject: [PATCH] Fix getting stuck on benches. --- nodes_furniture.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes_furniture.lua b/nodes_furniture.lua index 65e229d..7cb0beb 100644 --- a/nodes_furniture.lua +++ b/nodes_furniture.lua @@ -401,7 +401,7 @@ cottages.sit_on_bench = function( pos, node, clicker, itemstack, pointed_thing ) -- the bench is not centered; prevent the player from sitting on air local p2 = {x=pos.x, y=pos.y, z=pos.z}; if not( node ) or node.param2 == 0 then - p2.z = p2.z+0.3; + p2.z = p2.z+0.2; elseif node.param2 == 1 then p2.x = p2.x+0.3; elseif node.param2 == 2 then