Commit 9d6bc2a9 authored by ImmuState's avatar ImmuState Committed by Melledy
Browse files

Change active forges in player to list.

parent 8db0500e
......@@ -4,7 +4,6 @@ import dev.morphia.annotations.Entity;
@Entity
public class ActiveForgeData {
private int queueId;
private int forgeId;
private int avatarId;
......@@ -15,13 +14,6 @@ public class ActiveForgeData {
// private int nextFinishTimestamp;
// private int totalFinishTimestamp;
public int getQueueId() {
return this.queueId;
}
public void setQueueId(int value) {
this.queueId = value;
}
public int getForgeId() {
return this.forgeId;
}
......
......@@ -93,7 +93,7 @@ public class Player {
private Set<Integer> flyCloakList;
private Set<Integer> costumeList;
private Set<Integer> unlockedForgingBlueprints;
private Map<Integer, ActiveForgeData> activeForges;
private List<ActiveForgeData> activeForges;
private Integer widgetId;
......@@ -190,7 +190,7 @@ public class Player {
this.flyCloakList = new HashSet<>();
this.costumeList = new HashSet<>();
this.unlockedForgingBlueprints = new HashSet<>();
this.activeForges = new HashMap<>();
this.activeForges = new ArrayList<>();
this.setSceneId(3);
this.setRegionId(1);
......@@ -529,7 +529,7 @@ public class Player {
return this.unlockedForgingBlueprints;
}
public Map<Integer, ActiveForgeData> getActiveForges() {
public List<ActiveForgeData> getActiveForges() {
return this.activeForges;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment