Fabric Loader 0.15.x enforces @Environment annotations by removing annotated fields, classes, methods etc. on class load.
This PR backports commit 2a8f79be91ced9db700342574d08de36a781cd0d
I've also taken the liberty of fixing the build.gradle to only add the publish repo if the necessary credentials are set, because the build fails otherwise.
Fabric Loader 0.15.x enforces
@Environment
annotations by removing annotated fields, classes, methods etc. on class load. This PR backports commit 2a8f79be91ced9db700342574d08de36a781cd0d I've also taken the liberty of fixing the build.gradle to only add the publish repo if the necessary credentials are set, because the build fails otherwise.Fixes #565