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