Work around #518 (#65)

This commit is contained in:
modmuss50 authored and GitHub committed 2021-09-08 11:32:46 +01:00
1 parent b7c9b81b04
commit 24faba3496
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ packaging=jar
description=Mixin (Fabric fork)
url=https://fabricmc.net
organization=FabricMC
buildVersion=0.10.0
buildVersion=0.10.1
upstreamMixinVersion=0.8.4
buildType=RELEASE
asmVersion=9.2
@@ -238,7 +238,7 @@ class AnnotatedMixin implements IMixinContext, IAnnotatedElement {
} else if (type == null) {
this.printMessage(Kind.ERROR, "Mixin target " + softTarget + " could not be found", this);
return null;
} else if (type.isImaginary()) {
} else if (type.isImaginary() && false /* Fabric: Disable this check as it breaks with anonymous classes, reverts it similar to 0.8.2 See https://github.com/SpongePowered/Mixin/issues/518*/) {
this.printMessage(Kind.WARNING, "Mixin target " + softTarget + " could not be fully resolved.", this,
SuppressedBy.UNRESOLVABLE_TARGET);
return null;