1
0
鏡像自 https://github.com/Uberi/Minetest-WorldEdit.git 已同步 2025-10-17 08:05:30 +02:00

Fix stack2 param

Fix stack2 amount count
Fix stack2 sign recognition for y & z
此提交包含在:
KodexKy
2014-12-16 02:14:22 -04:30
父節點 e4d007199f
當前提交 5b03c83f6b
共有 2 個檔案被更改,包括 2 行新增2 行删除

查看文件

@@ -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