forked from Fascinated/Bat
maybe fix this?
This commit is contained in:
parent
d372c41c98
commit
b1f5db9b2d
@ -82,7 +82,7 @@ public class NameHistoryProfile extends Serializable {
|
||||
@Override
|
||||
public void load(Document document, Gson gson) {
|
||||
this.nameHistory = new LinkedList<>();
|
||||
for (Document trackedNameDocument : document.getList("nameHistory", Document.class)) {
|
||||
for (Document trackedNameDocument : document.getList("nameHistory", Document.class, new ArrayList<>())) {
|
||||
TrackedName trackedName = new TrackedName();
|
||||
trackedName.load(trackedNameDocument, gson);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user