From 4bc6210fda27ebc2e938d10f60b1aabd2e7532b4 Mon Sep 17 00:00:00 2001 From: cora Date: Mon, 1 Aug 2022 00:04:52 +0200 Subject: [PATCH] disable smooth rotation --- mods/ENTITIES/mcl_mobs/api.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 6b91f2f878..16f4343b15 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -311,7 +311,10 @@ end -- set and return valid yaw local set_yaw = function(self, yaw, delay, dtime) - + if true then + self.object:set_yaw(yaw) + return yaw + end if not yaw or yaw ~= yaw then yaw = 0 end