build a mod with an empty mixin config (no mixins specified)
a refmap is not generated for that config
loom still adds a refmap field to the mixin config
warnings from mixin about not being able to find the refmap, at runtime
So I'm simply checking whether the refmap exists before adding it. This works in the example mod, I deleted the mixins from the common sourceset but not the client sourceset and it works accordingly.
reproduction for issue this solves:
refmap
field to the mixin configSo I'm simply checking whether the refmap exists before adding it. This works in the example mod, I deleted the mixins from the common sourceset but not the client sourceset and it works accordingly.