1.12/1.14/1.15: Languages updated. JEI plugin init errors fixed. Code cleanups.
This commit is contained in:
parent
163153c99c
commit
11e985b8db
24 changed files with 291 additions and 147 deletions
|
@ -49,7 +49,7 @@
|
|||
for(var i in lines) {
|
||||
if(!lines[i].length) continue;
|
||||
const kv = lines[i].split("=", 2);
|
||||
if(kv.length!=2) throw new Error("Invalid line in '"+file_path+"': '"+lines[i]+"'");
|
||||
if(kv.length!=2) throw new Error("Invalid line " + i + " in '"+file_path+"': '"+lines[i]+"'");
|
||||
const key = kv[0].trim();
|
||||
const text = kv[1].trim();
|
||||
text = text.replace("\\\\n", "\n").replace("\\n", "\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue