Skip to content

Commit 0fb2102

Browse files
committed
Update limits
1 parent 0306a12 commit 0fb2102

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

worldedit_commands/safe.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ local S = minetest.get_translator("worldedit_commands")
22

33
--`count` is the number of nodes that would possibly be modified
44
--`callback` is a callback to run when the user confirms
5-
local max_nodes = tonumber(minetest.settings:get("worldedit.max_region_nodes")) or 20000
5+
local max_nodes = tonumber(minetest.settings:get("worldedit.max_region_nodes")) or 25000
66
max_nodes = math.min(max_nodes, 100000)
7-
local max_size = tonumber(minetest.settings:get("worldedit.max_area_size")) or 128
7+
local max_size = tonumber(minetest.settings:get("worldedit.max_area_size")) or 256
88
max_size = math.min(max_size, 1024)
9-
local hard_max_nodes = tonumber(minetest.settings:get("worldedit.hard_max_region_nodes")) or 1000000
9+
local hard_max_nodes = tonumber(minetest.settings:get("worldedit.hard_max_region_nodes")) or 2000000
1010
hard_max_nodes = math.min(hard_max_nodes, max_size ^ 3)
1111
local abs = math.abs
1212
local safe_region_callback = {}

0 commit comments

Comments
 (0)