Override locale names, fixes #757

This commit is contained in:
Anuken
2019-10-11 18:09:56 -04:00
parent 4e0d1b2746
commit bd3463c824
3 changed files with 8 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ public class ContentParser{
T two = (T)Vars.content.getByName(ctype, jsonData.asString());
if(two != null) return two;
throw new IllegalArgumentException("No " + ctype + " found with name: '" + jsonData.asString() + "'");
throw new IllegalArgumentException("\"" + jsonData.name + "\": No " + ctype + " found with name '" + jsonData.asString() + "'.");
}
}