When unmounting cushion, don't drop player inside
This commit is contained in:
parent
bfcb618d29
commit
c5cb125506
@ -21,7 +21,6 @@ function xdecor.sit(pos, node, clicker, pointed_thing)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if player_api.player_attached[player_name] then
|
if player_api.player_attached[player_name] then
|
||||||
pos.y = pos.y - 0.5
|
|
||||||
clicker:set_pos(pos)
|
clicker:set_pos(pos)
|
||||||
clicker:set_eye_offset(vector.new(), vector.new())
|
clicker:set_eye_offset(vector.new(), vector.new())
|
||||||
if mod_playerphysics then
|
if mod_playerphysics then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user