|
|
@ -114,14 +114,13 @@ if minetest.get_modpath("areas") then |
|
|
|
creative_regions.save_regions() |
|
|
|
num_removed = num_removed + 1 |
|
|
|
end |
|
|
|
if num_removed == 1 then |
|
|
|
minetest.chat_send_player(name, "[creative_regions] "..description.." removed for area " .. stored_id) |
|
|
|
else |
|
|
|
minetest.chat_send_player(name, "[creative_regions] Failed to remove privileges!") |
|
|
|
minetest.log("warning", "[creative_regions] Failed to remove privileges for "..description..", area id "..stored_id.." at "..dump(pos)) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
if num_removed == 1 then |
|
|
|
minetest.chat_send_player(name, "[creative_regions] "..description.." removed for area " .. stored_id) |
|
|
|
else |
|
|
|
minetest.chat_send_player(name, "[creative_regions] Failed to remove privileges!") |
|
|
|
minetest.log("warning", "[creative_regions] Failed to remove privileges for "..description..", area id "..stored_id..", at "..dump(pos)) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
minetest.register_node("creative_regions:protector_nofly", { |
|
|
|