1
0
Fork 0

Remove easter egg taking 3% of processing

This commit is contained in:
ancientmarinerdev 2022-12-09 19:30:06 +00:00
parent 8b08707e3f
commit e408dd45e5
1 changed files with 3 additions and 3 deletions

View File

@ -471,7 +471,7 @@ local set_yaw = function(self, yaw, delay, dtime)
if self.shaking and dtime then if self.shaking and dtime then
yaw = yaw + (random() * 2 - 1) * 5 * dtime yaw = yaw + (random() * 2 - 1) * 5 * dtime
end end
update_roll(self) --update_roll(self)
return yaw return yaw
end end
@ -822,7 +822,7 @@ local update_tag = function(self)
nametag = tag, nametag = tag,
}) })
update_roll(self) --update_roll(self)
end end
-- drop items -- drop items
@ -4457,7 +4457,7 @@ local mob_step = function(self, dtime)
yaw = yaw + (random() * 2 - 1) * 5 * dtime yaw = yaw + (random() * 2 - 1) * 5 * dtime
end end
self.object:set_yaw(yaw) self.object:set_yaw(yaw)
update_roll(self) --update_roll(self)
end end
-- end rotation -- end rotation