|
@ -25,7 +25,6 @@ if minetest.get_modpath("areas") then |
|
|
creative_regions.set_region_privs(area_id, nil) |
|
|
creative_regions.set_region_privs(area_id, nil) |
|
|
creative_regions.save_regions() |
|
|
creative_regions.save_regions() |
|
|
if creative_regions:get_areas_area_size(area) > 4096000 then |
|
|
if creative_regions:get_areas_area_size(area) > 4096000 then |
|
|
minetest.chat_send_player(owner, "[creative_regions] area " .. area_id .. " too big. Can't search for Protector Blocks") |
|
|
|
|
|
minetest.log("warning", "[creative_regions] area " .. area_id .. " too big. Can't search for Protector Blocks") |
|
|
minetest.log("warning", "[creative_regions] area " .. area_id .. " too big. Can't search for Protector Blocks") |
|
|
return |
|
|
return |
|
|
end |
|
|
end |
|
|