Fix whoops

This commit is contained in:
ancientmarinerdev 2023-03-07 18:50:12 +00:00 committed by Gitea
parent ce6d9d561f
commit b47ef9275b

View file

@ -420,7 +420,7 @@ local function on_step_work (self, dtime)
self:check_smooth_rotation(dtime) self:check_smooth_rotation(dtime)
if not player_in_active_range then if player_in_active_range then
self:set_animation_speed() -- set animation speed relative to velocity self:set_animation_speed() -- set animation speed relative to velocity
self:check_head_swivel(dtime) self:check_head_swivel(dtime)
@ -446,7 +446,7 @@ local function on_step_work (self, dtime)
if not skip_processing then if not skip_processing then
self:check_breeding() self:check_breeding()
if not player_in_active_range then if player_in_active_range then
self:check_item_pickup() self:check_item_pickup()
self:set_armor_texture() self:set_armor_texture()