From 1a380da960e59193a3aedd2307f02f9a3e0d3ff9 Mon Sep 17 00:00:00 2001 From: cora Date: Mon, 10 Oct 2022 14:49:49 +0200 Subject: [PATCH] Don't spawn pilalgers *in* the ground --- mods/MAPGEN/mcl_structures/pillager_outpost.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/MAPGEN/mcl_structures/pillager_outpost.lua b/mods/MAPGEN/mcl_structures/pillager_outpost.lua index fe1db5ce3..3b337886c 100644 --- a/mods/MAPGEN/mcl_structures/pillager_outpost.lua +++ b/mods/MAPGEN/mcl_structures/pillager_outpost.lua @@ -69,12 +69,12 @@ mcl_structures.register_structure("pillager_outpost",{ if not peaceful then if sp and #sp > 0 then for i=1,5 do - local pos = sp[pr:next(1,#sp)] + local pos = vector.offset(sp[pr:next(1,#sp)],0,1,0) if pos then minetest.add_entity(pos,"mobs_mc:pillager") end end - local pos = sp[pr:next(1,#sp)] + local pos = vector.offset(sp[pr:next(1,#sp)],0,1,0) if pos then minetest.add_entity(pos,"mobs_mc:evoker") end