Fix pig→zombiepig lightning transform
This commit is contained in:
parent
f052f147b5
commit
de6096f47a
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ lightning.strike = function(pos)
|
||||||
if lua.name == "mobs_mc:pig" then
|
if lua.name == "mobs_mc:pig" then
|
||||||
local rot = obj:get_yaw()
|
local rot = obj:get_yaw()
|
||||||
obj:remove()
|
obj:remove()
|
||||||
obj = minetest.add_entity(pos2, "mobs_mc:zombiepig")
|
obj = minetest.add_entity(pos2, "mobs_mc:pigman")
|
||||||
obj:set_yaw(rot)
|
obj:set_yaw(rot)
|
||||||
-- villager → witch
|
-- villager → witch
|
||||||
elseif lua.name == "mobs_mc:villager" then
|
elseif lua.name == "mobs_mc:villager" then
|
||||||
|
|
Reference in a new issue