MysteryBlokHed / databind

Expand the functionality of Minecraft Datapacks.
https://databind.rtfd.io/en/stable
GNU General Public License v3.0
4 stars 0 forks source link

Fix get_namespace tag problems #141

Closed MysteryBlokHed closed 3 years ago

MysteryBlokHed commented 3 years ago

Closes #140

Fixes a problem where files::get_namespace wouldn't work properly if the path contained the word functions at any point. This is actually not backwards-compatible due to the change of return type from Result<&str, &str> to Result<String, &str>, but the API isn't stable and isn't used by anyone else so it seems ok to release as a patch.