Display content in mod error
This commit is contained in:
@@ -567,5 +567,13 @@ public class Mods implements Loadable{
|
||||
this.mod = content.mod;
|
||||
}
|
||||
}
|
||||
|
||||
public ModLoadException(@Nullable Content content, Throwable cause){
|
||||
super(cause);
|
||||
this.content = content;
|
||||
if(content != null){
|
||||
this.mod = content.mod;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user