Possible parser status effect fix
This commit is contained in:
@@ -781,13 +781,14 @@ public class ContentParser{
|
|||||||
json = json.replace("#", "\\#");
|
json = json.replace("#", "\\#");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
currentMod = mod;
|
||||||
|
|
||||||
JsonValue value = parser.fromJson(null, Jval.read(json).toString(Jformat.plain));
|
JsonValue value = parser.fromJson(null, Jval.read(json).toString(Jformat.plain));
|
||||||
|
|
||||||
if(!parsers.containsKey(type)){
|
if(!parsers.containsKey(type)){
|
||||||
throw new SerializationException("No parsers for content type '" + type + "'");
|
throw new SerializationException("No parsers for content type '" + type + "'");
|
||||||
}
|
}
|
||||||
|
|
||||||
currentMod = mod;
|
|
||||||
boolean located = locate(type, name) != null;
|
boolean located = locate(type, name) != null;
|
||||||
Content c = parsers.get(type).parse(mod.name, name, value);
|
Content c = parsers.get(type).parse(mod.name, name, value);
|
||||||
c.minfo.sourceFile = file;
|
c.minfo.sourceFile = file;
|
||||||
|
|||||||
@@ -25,4 +25,4 @@ org.gradle.caching=true
|
|||||||
#used for slow jitpack builds; TODO see if this actually works
|
#used for slow jitpack builds; TODO see if this actually works
|
||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
archash=712ac8bf54
|
archash=a06d7a24cc
|
||||||
|
|||||||
Reference in New Issue
Block a user