mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 03:07:32 +01:00
Fix pig→zombiepig lightning transform
This commit is contained in:
parent
f052f147b5
commit
de6096f47a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user