mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 23:04:00 +07:00
Fixed #10183
This commit is contained in:
parent
31ad220fef
commit
27c012a4ba
@ -21,7 +21,13 @@ public class MapLocales extends ObjectMap<String, StringMap> implements JsonSeri
|
||||
@Override
|
||||
public void read(Json json, JsonValue jsonData){
|
||||
for(JsonValue value : jsonData){
|
||||
put(value.name, json.readValue(StringMap.class, value));
|
||||
StringMap map = new StringMap();
|
||||
|
||||
for(JsonValue child = value.child; child != null; child = child.next){
|
||||
map.put(child.name, json.readValue(String.class, null, child));
|
||||
}
|
||||
|
||||
put(value.name, map);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user