diff --git a/init.lua b/init.lua index 515f0a8..5cb8b53 100644 --- a/init.lua +++ b/init.lua @@ -104,6 +104,7 @@ minetest.register_chatcommand("creative_area_rm", { local success = switch_creative.astore:remove_area(area_id) if success then minetest.chat_send_player(name, "[creative_area] Area " .. area_id .. "removed") + switch_creative:set_area_privs(area_id, nil) else minetest.chat_send_player(name, "[creative_area] Error removing area " .. area_id) end