mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Fixed #10183
This commit is contained in:
parent
31ad220fef
commit
27c012a4ba
1 changed files with 7 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue