mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-21 18:32:10 +00:00
Add mod id to another kind of prepare/apply error message
This commit is contained in:
1 parent
f6722f4f29
commit
1cccdecaf7
1 file changed
+1
-1
@@ -130,7 +130,7 @@ class MixinProcessor {
|
||||
protected abstract String getContext(IMixinInfo mixin, String context);
|
||||
|
||||
public String getLogMessage(String context, InvalidMixinException ex, IMixinInfo mixin) {
|
||||
return String.format("Mixin %s failed %s: %s %s", this.text, this.getContext(mixin, context), ex.getClass().getName(), ex.getMessage());
|
||||
return String.format("Mixin %s for mod %s failed %s: %s %s", this.text, org.spongepowered.asm.mixin.FabricUtil.getModId(mixin.getConfig()), this.getContext(mixin, context), ex.getClass().getName(), ex.getMessage());
|
||||
}
|
||||
|
||||
public String getErrorMessage(IMixinInfo mixin, IMixinConfig config, Phase phase) {
|
||||
|
||||
Reference in new issue
Block a user