Fix reading of MVLiveModels from config

This commit is contained in:
0xb00bface 2022-02-20 12:45:41 +01:00
parent 7dd229b55c
commit 5a4ff41984
1 changed files with 4 additions and 1 deletions

View File

@ -250,7 +250,10 @@ public class MVLiveModel extends AbstractModel {
@Override @Override
public void readSiteSpecificData(JsonReader reader) throws IOException { public void readSiteSpecificData(JsonReader reader) throws IOException {
id = reader.nextString(); if (reader.hasNext()) {
reader.nextName();
id = reader.nextString();
}
} }
public void setId(String id) { public void setId(String id) {