Do not copy the 'marble' group into microblocks (#2)
Co-authored-by: Oversword <bionc:oversword.co.uk>master
parent
72a8f9e1bf
commit
9da29961b7
|
@ -21,11 +21,19 @@ then
|
|||
stairsplus.expect_infinite_stacks = true
|
||||
end
|
||||
|
||||
local do_not_copy_groups = {
|
||||
wood = true,
|
||||
stone = true,
|
||||
wool = true,
|
||||
tree = true,
|
||||
marble = true
|
||||
}
|
||||
|
||||
function stairsplus:prepare_groups(groups)
|
||||
local result = {}
|
||||
if groups then
|
||||
for k, v in pairs(groups) do
|
||||
if k ~= "wood" and k ~= "stone" and k ~= "wool" and k ~= "tree" then
|
||||
if not do_not_copy_groups[k] then
|
||||
result[k] = v
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue