minetest-mods / moreblocks

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

slope placement with non-default nodes results in strange behavior #167

Closed BuckarooBanzay closed 3 years ago

BuckarooBanzay commented 3 years ago

When i'm placing slope nodes from the scifi_nodes mod (github.com/D00Med/scifi_nodes/) i get some weird placement issues:

screenshot_20201218_174631

Regardless of player position

Possbly related to: https://github.com/minetest-mods/moreblocks/pull/160

Oblomov commented 3 years ago

LOL OK, I see why this is happening: the mod has a _ in its name, which is busting my “same category” detection code. I think this should be relatively easy to fix. Let me give it a roll.

Oblomov commented 3 years ago

@BuckarooBanzay can you please test #168 ? I would appreciate if you could verify two things: one is that you don't get the weird placement that you see now, and the other is that you should get the “optimized placement for same category” even across mods (e.g. default slope against scifi_nodes slope).