Update init.lua

master
Jared Landers 2019-05-30 20:19:12 -07:00 committed by GitHub
parent 1617a82064
commit dfebf6802f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -32,9 +32,9 @@ multiplacer.activate = function(player, material, pointed_thing, mode)
for iy = 0, y-1 do
for iz = 0, z-1 do
local pos = add_3dx2(start, mul_3dx2(dir, {x=ix, y=iy, z=iz}))
-- if not replacer_homedecor_node_is_owned(pos, player) then
if not minetest.is_protected(pos) then
minetest.set_node(pos, {name = material})
-- end
end
end
end
end