1.14: Config implemented. Recipes completed (standalone recipes). Lang file newline escape fixes. Hard IE dependent blocks are implicitly opted out if IE is not installed.
This commit is contained in:
parent
547912aaa4
commit
533a315c3f
10 changed files with 28 additions and 11 deletions
|
@ -52,6 +52,7 @@
|
|||
if(kv.length!=2) throw new Error("Invalid line in '"+file_path+"': '"+lines[i]+"'");
|
||||
const key = kv[0].trim();
|
||||
const text = kv[1].trim();
|
||||
text = text.replace("\\\\n", "\n").replace("\\n", "\n");
|
||||
if(key.length == 0) {
|
||||
throw new Error("Empty key in '"+file_path+"' line '" + lines[i] + "'");
|
||||
} else if(key.search("tile."+modid+".")==0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue