mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-19 16:29:45 +00:00
Add missing null check for audit trail in class generator
This commit is contained in:
1 parent
36c29218a8
commit
3d58719c75
1 file changed
+3
-1
@@ -82,7 +82,9 @@ public class MixinClassGenerator {
|
||||
boolean success = generator.generate(name, classNode);
|
||||
genTimer.end();
|
||||
if (success) {
|
||||
this.auditTrail.onGenerate(name, generator.getName());
|
||||
if (this.auditTrail != null) {
|
||||
this.auditTrail.onGenerate(name, generator.getName());
|
||||
}
|
||||
this.extensions.export(environment, name.replace('.', '/'), false, classNode);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user