mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
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
|
||||
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 a new issue