mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-21 08:02:13 +00:00
This is neater
This commit is contained in:
1 parent
590c11d6cd
commit
6e32c0069d
1 file changed
+3
-6
@@ -214,20 +214,17 @@ public class MixinApplicator {
|
||||
|
||||
try {
|
||||
for (MixinTargetContext context : mixinContexts) {
|
||||
current = context;
|
||||
context.preApply(this.targetName, this.targetClass);
|
||||
(current = context).preApply(this.targetName, this.targetClass);
|
||||
}
|
||||
|
||||
for (ApplicatorPass pass : ApplicatorPass.values()) {
|
||||
for (MixinTargetContext context : mixinContexts) {
|
||||
current = context;
|
||||
this.applyMixin(context, pass);
|
||||
this.applyMixin(current = context, pass);
|
||||
}
|
||||
}
|
||||
|
||||
for (MixinTargetContext context : mixinContexts) {
|
||||
current = context;
|
||||
context.postApply(this.targetName, this.targetClass);
|
||||
(current = context).postApply(this.targetName, this.targetClass);
|
||||
}
|
||||
} catch (InvalidMixinException ex) {
|
||||
throw ex;
|
||||
|
||||
Reference in new issue
Block a user