Skip to content

Commit

Permalink
Revert part of 11ec11c
Browse files Browse the repository at this point in the history
We can fix the spam this causes in loader.
  • Loading branch information
modmuss50 committed Jun 12, 2021
1 parent 11ec11c commit cf6c9a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ packaging=jar
description=Mixin (Fabric fork)
url=https://fabricmc.net
organization=FabricMC
buildVersion=0.9.3
buildVersion=0.9.4
upstreamMixinVersion=0.8.2
buildType=RELEASE
asmVersion=9.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ private ClassInfo getTargetClass(DeclaredTarget target) throws InvalidMixinExcep
}
this.type.validateTarget(target.name, targetInfo);
if (target.isPrivate && targetInfo.isPublic() && !this.isVirtual()) {
this.logger.debug(String.format("@Mixin target %s is public in %s and should be specified in value", target.name, this));
this.handleTargetError(String.format("@Mixin target %s is public in %s and should be specified in value", target.name, this));
}
return targetInfo;
}
Expand Down

0 comments on commit cf6c9a2

Please sign in to comment.