remove i3's assumtpion that it controls moreblocks compression groups

This commit is contained in:
flux 2022-12-13 10:21:12 -08:00
parent c900c6c730
commit 8a5a4ea7ee
1 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,14 @@ if not stairsplus.has.i3 then
return
end
-- https://github.com/fluxionary/minetest-moreblocks/issues/13
-- remove i3's assumption that it controls our compression groups
for node in pairs(i3.compress_groups) do
if node:match("^moreblocks:slope_") or node:match("^wool:slope_") then
i3.compress_groups[node] = nil
end
end
local api = stairsplus.api
i3.register_craft_type("stairsplus:circular_saw", {