mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-06-28 06:12:00 +02:00
worldedit_brush: Remove "safe region" hack
This commit is contained in:
@ -1,11 +1,9 @@
|
||||
local safe_region_callback = {}
|
||||
|
||||
worldedit._override_safe_regions = false -- internal use ONLY!
|
||||
|
||||
--`count` is the number of nodes that would possibly be modified
|
||||
--`callback` is a callback to run when the user confirms
|
||||
local function safe_region(name, count, callback)
|
||||
if worldedit._override_safe_regions or count < 10000 then
|
||||
if count < 10000 then
|
||||
return callback()
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user