Alias creeper heads to stalker heads

This solves the issue of creeper heads in the old version not getting
upgraded with newer VL reported in #4545.
This commit is contained in:
William Goodspeed 2024-08-18 16:35:13 +00:00 committed by William Goodspeed
parent ebee85db7e
commit 5d0d93db0a

@ -272,6 +272,12 @@ mcl_heads.register_head{
range_factor = 0.5, range_factor = 0.5,
} }
-- Alias old creeper heads
minetest.register_alias("mcl_heads:creeper_wall", "mcl_heads:stalker_wall")
for i, d in pairs(mcl_heads.FLOOR_DEGREES) do
minetest.register_alias("mcl_heads:creeper"..d, "mcl_heads:stalker"..d)
end
-- Original Minecraft name: “Head” -- Original Minecraft name: “Head”
mcl_heads.register_head{ mcl_heads.register_head{
name = "steve", name = "steve",