]> git.lizzy.rs Git - Crafter.git/commitdiff
Remove third person sneaking eye offset
authoroilboi <47129783+oilboi@users.noreply.github.com>
Thu, 18 Jun 2020 23:01:12 +0000 (19:01 -0400)
committeroilboi <47129783+oilboi@users.noreply.github.com>
Thu, 18 Jun 2020 23:01:12 +0000 (19:01 -0400)
mods/player_mechanics/player_mechanics.lua

index e1c48f705260528e8efd692f516af16f01e7864e..bfe9c4fc8162ff604012801d36332609ca4045a8 100644 (file)
@@ -175,7 +175,7 @@ local control_state = function(player)
                if temp_pool.state == 3 and in_water then
                        send_running_cancellation(player,false)
                elseif not in_water and temp_pool.state == 3 and temp_pool.old_state ~= 3 then
-                       player:set_eye_offset({x=0,y=-1,z=0},{x=0,y=-1,z=0})
+                       player:set_eye_offset({x=0,y=-1,z=0},{x=0,y=0,z=0})
                elseif not in_water and temp_pool.old_state == 3 and temp_pool.state ~= 3 then
                        player:set_eye_offset({x=0,y=0,z=0},{x=0,y=0,z=0})
                end