Fix config parse failure causing crash in building exception message. fixes #7438

Signed-off-by: cpw <cpw+github@weeksfamily.ca>
This commit is contained in:
cpw committed 2020-11-01 17:09:00 -05:00
1 parent 1af6632a29
commit 749c9063af
1 file changed
+1 -1
@@ -125,7 +125,7 @@ public class ConfigFileTypeHandler {
{
public ConfigLoadingException(ModConfig config, Exception cause)
{
super("Failed loading config file " + config.getFullPath().toString() + " with type " + config.getType() + " for modid " + config.getModId(), cause);
super("Failed loading config file " + config.getFileName() + " of type " + config.getType() + " for modid " + config.getModId(), cause);
}
}
}