Remove eye offset from sneaking when swimming

This commit is contained in:
oilboi 2020-06-18 18:40:13 -04:00
parent eb5a253f43
commit 63d2ba474a

View File

@ -142,6 +142,7 @@ local control_state = function(player)
player:set_properties({
collisionbox = {-0.3, 0.8, -0.3, 0.3, 1.6, 0.3},
})
player:set_eye_offset({x=0,y=0,z=0},{x=0,y=0,z=0})
end
-- running/swimming fov modifier