FabricMC / fabric-mixin-compile-extensions

Extensions for Mixin's annotation processor.
MIT License
8 stars 8 forks source link

Catch ClassNotFoundException in MixinMappingProviderTiny (fixes Loom issue 368) #7

Closed jpenilla closed 3 years ago

jpenilla commented 3 years ago

Fixes https://github.com/FabricMC/fabric-loom/issues/368

As discussed in Discord, it should be fine to return null here if we aren't able to load a class. This doesn't change any behavior (null was already being returned), just removes the stacktrace that is present on compile when soft implementing interfaces.