mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-26 20:53:06 +00:00
Improvement: Remove warning for string-targeted public classes.
This can be expensive to compute since it requires loading ClassInfos for outer classes, and it is a useless warning anyway which only worsens logspam.
This commit is contained in:
1 parent
2c6ea1834e
commit
9f8bc5fdce
1 file changed
-3
@@ -1024,9 +1024,6 @@ class MixinInfo implements Comparable<MixinInfo>, IMixinInfo {
|
||||
return null;
|
||||
}
|
||||
this.type.validateTarget(target.name, targetInfo);
|
||||
if (target.isPrivate && targetInfo.isReallyPublic() && !this.isVirtual()) {
|
||||
this.handleTargetError(String.format("@Mixin target %s is public in %s and should be specified in value", target.name, this), true);
|
||||
}
|
||||
return targetInfo;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user