Skip to content

Commit cf6c9a2

Browse files
committed
Revert part of 11ec11c
We can fix the spam this causes in loader.
1 parent 11ec11c commit cf6c9a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ packaging=jar
44
description=Mixin (Fabric fork)
55
url=https://fabricmc.net
66
organization=FabricMC
7-
buildVersion=0.9.3
7+
buildVersion=0.9.4
88
upstreamMixinVersion=0.8.2
99
buildType=RELEASE
1010
asmVersion=9.1

src/main/java/org/spongepowered/asm/mixin/transformer/MixinInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ private ClassInfo getTargetClass(DeclaredTarget target) throws InvalidMixinExcep
10161016
}
10171017
this.type.validateTarget(target.name, targetInfo);
10181018
if (target.isPrivate && targetInfo.isPublic() && !this.isVirtual()) {
1019-
this.logger.debug(String.format("@Mixin target %s is public in %s and should be specified in value", target.name, this));
1019+
this.handleTargetError(String.format("@Mixin target %s is public in %s and should be specified in value", target.name, this));
10201020
}
10211021
return targetInfo;
10221022
}

0 commit comments

Comments
 (0)