From ca095395a957c1d8ff6b25958bf5012d403aa5ce Mon Sep 17 00:00:00 2001 From: the-real-herowl Date: Sat, 28 Sep 2024 00:00:01 +0200 Subject: [PATCH] Fixed abnormal skull rotation --- mods/ENTITIES/mcl_mobs/init.lua | 1 - mods/ENTITIES/mobs_mc/wither.lua | 10 ++++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/init.lua b/mods/ENTITIES/mcl_mobs/init.lua index e2b459856..7de1ba5f2 100644 --- a/mods/ENTITIES/mcl_mobs/init.lua +++ b/mods/ENTITIES/mcl_mobs/init.lua @@ -410,7 +410,6 @@ function mcl_mobs.register_arrow(name, def) switch = 0, _lifetime = def._lifetime or 7, owner_id = def.owner_id, - rotate = def.rotate, _vl_projectile = { behaviors = behaviors, ignore_gravity = true, diff --git a/mods/ENTITIES/mobs_mc/wither.lua b/mods/ENTITIES/mobs_mc/wither.lua index 2b441442b..b78b3766d 100644 --- a/mods/ENTITIES/mobs_mc/wither.lua +++ b/mods/ENTITIES/mobs_mc/wither.lua @@ -457,13 +457,12 @@ mcl_mobs.register_arrow("mobs_mc:wither_skull", { textures = { "mobs_mc_wither_projectile.png^[verticalframe:6:0", -- top "mobs_mc_wither_projectile.png^[verticalframe:6:1", -- bottom - "mobs_mc_wither_projectile.png^[verticalframe:6:2", -- left - "mobs_mc_wither_projectile.png^[verticalframe:6:3", -- right "mobs_mc_wither_projectile.png^[verticalframe:6:4", -- back "mobs_mc_wither_projectile.png^[verticalframe:6:5", -- front + "mobs_mc_wither_projectile.png^[verticalframe:6:3", -- right + "mobs_mc_wither_projectile.png^[verticalframe:6:2", -- left }, velocity = 7, - rotate = 90, _lifetime = 15, on_punch = function(self) end, allow_punching = function(self, _, _, object) @@ -514,13 +513,12 @@ mcl_mobs.register_arrow("mobs_mc:wither_skull_strong", { textures = { "mobs_mc_wither_projectile_strong.png^[verticalframe:6:0", -- top "mobs_mc_wither_projectile_strong.png^[verticalframe:6:1", -- bottom - "mobs_mc_wither_projectile_strong.png^[verticalframe:6:2", -- left - "mobs_mc_wither_projectile_strong.png^[verticalframe:6:3", -- right "mobs_mc_wither_projectile_strong.png^[verticalframe:6:4", -- back "mobs_mc_wither_projectile_strong.png^[verticalframe:6:5", -- front + "mobs_mc_wither_projectile_strong.png^[verticalframe:6:3", -- right + "mobs_mc_wither_projectile_strong.png^[verticalframe:6:2", -- left }, velocity = 4, - rotate = 90, _lifetime = 25, on_punch = function(self) end, allow_punching = function(self, _, _, object)