0
0
Fork 0

Make enderdragon spawn upon exit portal generation

This commit is contained in:
Lizzy Fleckenstein 2021-04-04 12:01:45 +02:00
parent 3b8916ef65
commit 49446bbb7b
1 changed files with 1 additions and 0 deletions

View File

@ -313,6 +313,7 @@ mcl_structures.generate_fossil = function(pos, rotation, pr)
end
mcl_structures.generate_end_exit_portal = function(pos, rot)
minetest.add_entity(vector.add(pos, vector.new(3, 11, 3)), "mobs_mc:enderdragon")
local path = minetest.get_modpath("mcl_structures").."/schematics/mcl_structures_end_exit_portal.mts"
return mcl_structures.place_schematic(pos, path, rot or "0", nil, true)
end