mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
only prevent mob spawning, not wall fixing
This commit is contained in:
parent
962425faa5
commit
89f3bb5aa6
1 changed files with 10 additions and 10 deletions
|
@ -56,7 +56,6 @@ mcl_structures.register_structure("pillager_outpost",{
|
|||
}}
|
||||
},
|
||||
after_place = function(p,def,pr)
|
||||
if not peaceful then
|
||||
local p1 = vector.offset(p,-7,0,-7)
|
||||
local p2 = vector.offset(p,7,14,7)
|
||||
local spawnon = {"mcl_core:stripped_oak"}
|
||||
|
@ -67,6 +66,7 @@ mcl_structures.register_structure("pillager_outpost",{
|
|||
def.on_construct(n)
|
||||
end
|
||||
end
|
||||
if not peaceful then
|
||||
if sp and #sp > 0 then
|
||||
for i=1,5 do
|
||||
local pos = sp[pr:next(1,#sp)]
|
||||
|
|
Loading…
Reference in a new issue