SinTh0r4s / ExampleMod1.7.10

An example mod for Minecraft 1.7.10 with Forge focussed on a stable setup.
MIT License
25 stars 90 forks source link

Wrap `new File` to rely on project dir #43

Closed SinTh0r4s closed 2 years ago

SinTh0r4s commented 2 years ago

Reason: https://youtrack.jetbrains.com/issue/IDEA-265203

As Vlad already said correctly: Build logic must never rely on CWD. Use Project.file, Project.projectDir, Project.buildDir, Project.rootDir etc instead. This applies to plugins as well. Plugins relying on CWD are broken and need to be fixed.