Connector
Connector copied to clipboard
[1.21] `ModContainer#getRootPaths` returns a different path format to Fabric's original implementation.
Minecraft version
1.21
Describe the bug
Same as title.
Steps to reproduce
- Print
ModContainer#getRootPathsto console on Fabric. The output is:[/] - Print
ModContainer#getRootPathsto console on NeoForge. The output is:[.] - Societal collapse :trollface:
Logs
No response
Additional context
This results in crashes of poorly written mods, which rely on the `toString' output to be exactly the same as Fabric's.
e.g jarPath.relativize(file).toString() results in ../me/melontini/andromeda/util/mixins/ErrorHandler.class instead of me/melontini/andromeda/util/mixins/ErrorHandler.class