MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

Local Classes should error the same as Inner Classes

Open ChiefArug opened this issue 1 year ago • 0 comments

Minecraft Development for IntelliJ plugin version

2024.1-1.8.1

Description of the feature request

There is currently an error message when trying to use an inner class in a mixin that is not also a @Mixin class itself. image This does not show on method local classes though, even though the same restrictions apply (attempting to use such a class results in org.spongepowered.asm.mixin.transformer.throwables.IllegalClassLoadError: <localclass> is in a defined mixin package <mixin.package> owned by <mixin.config> and cannot be referenced directly ) image

ChiefArug avatar Sep 02 '24 10:09 ChiefArug