This commit is contained in:
Anuken 2020-01-01 12:16:23 -05:00
parent 7a29877a2d
commit ddb0d7eff2

View file

@ -333,8 +333,8 @@ public class ContentParser{
}
private void readBundle(ContentType type, String name, JsonValue value){
UnlockableContent cont = Vars.content.getByName(type, name) instanceof UnlockableContent ?
Vars.content.getByName(type, name) : null;
UnlockableContent cont = locate(type, name) instanceof UnlockableContent ?
locate(type, name) : null;
String entryName = cont == null ? type + "." + currentMod.name + "-" + name + "." : type + "." + cont.name + ".";
I18NBundle bundle = Core.bundle;