forked from VoxeLibre/VoxeLibre
[extra_mobs] Fix hoglin spawn caused server crash
This commit is contained in:
parent
5d48975a07
commit
c89768f8f7
|
@ -115,7 +115,7 @@ baby_hoglin.child = 1
|
||||||
mobs:register_mob("extra_mobs:baby_hoglin", baby_hoglin)]]
|
mobs:register_mob("extra_mobs:baby_hoglin", baby_hoglin)]]
|
||||||
|
|
||||||
-- Regular spawning in the Nether
|
-- Regular spawning in the Nether
|
||||||
mobs:spawn_specific("extra_mobs:hoglin", "nether", "ground", {"air"}, 0, minetest.LIGHT_MAX+1, 30, 6000, 3, mcl_vars.mg_nether_min, mcl_vars.mg_nether_max)
|
mobs:spawn_specific("extra_mobs:hoglin", "nether", "ground", 0, minetest.LIGHT_MAX+1, 30, 6000, 3, mcl_vars.mg_nether_min, mcl_vars.mg_nether_max)
|
||||||
|
|
||||||
-- spawn eggs
|
-- spawn eggs
|
||||||
mobs:register_egg("extra_mobs:hoglin", S("Hoglin"), "extra_mobs_spawn_icon_hoglin.png", 0)
|
mobs:register_egg("extra_mobs:hoglin", S("Hoglin"), "extra_mobs_spawn_icon_hoglin.png", 0)
|
||||||
|
|
Loading…
Reference in New Issue