mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Print mod file name on InvalidModFileException (#7241)
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -27,7 +27,7 @@ public class InvalidModFileException extends RuntimeException
|
||||
|
||||
public InvalidModFileException(String message, IModFileInfo modFileInfo)
|
||||
{
|
||||
super(message);
|
||||
super(String.format("%s (%s)", message, ((ModFileInfo)modFileInfo).getFile().getFileName()));
|
||||
this.modFileInfo = modFileInfo;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user