mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-12 13:00:24 +02:00
Removing everything from the first underscore blows up when the mod name has an underscore itself. Solve by extracting the category as the part of the name that begins after the colon and ends at the first underscore. As a bonus, this should make it easier to place nodes in the same category even if they are from different mods.