Fix pig→zombiepig lightning transform

This commit is contained in:
Wuzzy 2017-11-12 05:11:21 +01:00
parent f052f147b5
commit de6096f47a

View file

@ -184,7 +184,7 @@ lightning.strike = function(pos)
if lua.name == "mobs_mc:pig" then
local rot = obj:get_yaw()
obj:remove()
obj = minetest.add_entity(pos2, "mobs_mc:zombiepig")
obj = minetest.add_entity(pos2, "mobs_mc:pigman")
obj:set_yaw(rot)
-- villager → witch
elseif lua.name == "mobs_mc:villager" then