minetest-mods / moreblocks

More Blocks
https://content.minetest.net/packages/Calinou/moreblocks/
zlib License
45 stars 67 forks source link

stairsplus:register_custom_subset computes the wrong "cost" for elements #190

Open fluxionary opened 2 years ago

fluxionary commented 2 years ago

The numbers in the inventory formspec look right, but the actual quantity of material used corresponds to the variant which would be in that same index if stairsplus:register_all were used.

screenshot_20220525_101342

after removing 2 panels, 6 "microblocks" remain: screenshot_20220525_101401

which is because the item which would be at that index normally is a microblock: screenshot_20220525_101732

fluxionary commented 2 years ago

Given the state of the mod, I'm guessing I'm going to have to fix this myself.

Calinou commented 2 years ago

Given the state of the mod, I'm guessing I'm going to have to fix this myself.

Indeed, I don't have time to work on More Blocks myself these days. Feel free to open a pull request for this :slightly_smiling_face: