Add files via upload

master
Jared Landers 2019-05-31 19:33:26 -07:00 committed by GitHub
parent 1f177e2630
commit f281e9b953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,9 @@ multiplacer.activate = function(itemstack, player, delete, pointed_thing, mode1,
-- pos = add_3dx2(start, {x=iw*look_dir.x,y=ih,z=il*look_dir.z})
-- end
if not minetest.is_protected(pos, player:get_player_name()) then
if not areas then
return nil;
end
if #areas:getNodeOwners(pos) > 0 then
if delete then
if minetest.get_node(pos).name == daten[1] then