From bd6e6b48d9161780a143d34b54e54a109776433e 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 6b91f2f87..16f4343b1 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