1
0
鏡像自 https://github.com/minetest-mods/moreblocks.git 已同步 2025-11-05 07:55:30 +01:00

Add an upper cap to circular saw max.

此提交包含在:
Calinou
2014-07-20 21:58:12 +02:00
父節點 c617fb57af
當前提交 28741bf242

查看文件

@@ -61,9 +61,7 @@ function circular_saw:get_cost(inv, stackname)
end
function circular_saw:get_output_inv(modname, material, amount, max)
if (not max or max < 1) then
max = 99
end
if (not max or max < 1 or max > 99) then max = 99 end
local list = {}
-- If there is nothing inside, display empty inventory: