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 2020-11-01 17:09:00 -05:00
parent 1af6632a29
commit 749c9063af
No known key found for this signature in database
GPG key ID: 8EB3DF749553B1B7

View file

@ -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);
}
}
}