mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-06-28 06:12:00 +02:00
Fix stack2 param
Fix stack2 amount count Fix stack2 sign recognition for y & z
This commit is contained in:
@ -641,7 +641,7 @@ minetest.register_chatcommand("/stack2", {
|
||||
end
|
||||
repetitions = tonumber(repetitions)
|
||||
|
||||
local x, y, z = incs:match("([+-]?%d+) ([+-]%d+) ([+-]%d+)")
|
||||
local x, y, z = incs:match("([+-]?%d+) ([+-]?%d+) ([+-]?%d+)")
|
||||
if x == nil then
|
||||
worldedit.player_notify(name, "invalid increments: " .. param)
|
||||
return
|
||||
|
Reference in New Issue
Block a user