Fixed abnormal skull rotation

This commit is contained in:
the-real-herowl 2024-09-28 00:00:01 +02:00 committed by teknomunk
parent 30f4846192
commit 7546ceeeca
2 changed files with 4 additions and 7 deletions

@ -407,7 +407,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,

@ -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)