mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-20 15:49:36 +00:00
Improve MixinTargetAlreadyLoadedException exception message
This commit is contained in:
1 parent
2c72246fe0
commit
23bc38b6fc
1 file changed
+1
-1
@@ -880,7 +880,7 @@ class MixinInfo implements Comparable<MixinInfo>, IMixinInfo {
|
||||
for (String targetRef : inTargets) {
|
||||
String targetName = targetRef.replace('/', '.');
|
||||
if (MixinInfo.classLoaderUtil.isClassLoaded(targetName) && !this.isReloading()) {
|
||||
String message = String.format("Critical problem: %s target %s was already transformed.", this, targetName);
|
||||
String message = String.format("Critical problem: %s target %s was loaded too early.", this, targetName);
|
||||
if (this.parent.isRequired()) {
|
||||
throw new MixinTargetAlreadyLoadedException(this, message, targetName);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user