forked from VoxeLibre/VoxeLibre
Compatibility conversion
This commit is contained in:
parent
d2a49799ae
commit
d826a587da
|
@ -493,6 +493,14 @@ mcl_mobs.register_mob("mobs_mc:rover", {
|
|||
attack_type = "dogfight",
|
||||
})
|
||||
|
||||
-- compat
|
||||
minetest.register_entity("mobs_mc:enderman", {
|
||||
on_activate = function(self, staticdata, dtime)
|
||||
minetest.add_entity(self.object:get_pos(), "mobs_mc:rover", staticdata)
|
||||
self.object:remove()
|
||||
end,
|
||||
})
|
||||
|
||||
-- End spawn
|
||||
mcl_mobs:spawn_specific(
|
||||
"mobs_mc:rover",
|
||||
|
@ -697,3 +705,4 @@ mcl_vars.mg_nether_max)
|
|||
|
||||
-- spawn eggs
|
||||
mcl_mobs.register_egg("mobs_mc:rover", S("Rover"), "#252525", "#151515", 0)
|
||||
minetest.register_alias("mobs_mc:enderman", "mobs_mc:rover")
|
||||
|
|
Loading…
Reference in New Issue