1
0
鏡像自 https://github.com/Sokomine/cottages.git 已同步 2025-07-06 01:50:20 +02:00

Fix getting stuck on benches.

此提交包含在:
orbea
2020-04-23 05:09:39 -07:00
父節點 43eabc2f27
當前提交 b960db85df

查看文件

@ -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