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; ...@@ -4,7 +4,6 @@ import dev.morphia.annotations.Entity;
@Entity @Entity
public class ActiveForgeData { public class ActiveForgeData {
private int queueId;
private int forgeId; private int forgeId;
private int avatarId; private int avatarId;
...@@ -15,13 +14,6 @@ public class ActiveForgeData { ...@@ -15,13 +14,6 @@ public class ActiveForgeData {
// private int nextFinishTimestamp; // private int nextFinishTimestamp;
// private int totalFinishTimestamp; // private int totalFinishTimestamp;
public int getQueueId() {
return this.queueId;
}
public void setQueueId(int value) {
this.queueId = value;
}
public int getForgeId() { public int getForgeId() {
return this.forgeId; return this.forgeId;
} }
......
...@@ -93,7 +93,7 @@ public class Player { ...@@ -93,7 +93,7 @@ public class Player {
private Set<Integer> flyCloakList; private Set<Integer> flyCloakList;
private Set<Integer> costumeList; private Set<Integer> costumeList;
private Set<Integer> unlockedForgingBlueprints; private Set<Integer> unlockedForgingBlueprints;
private Map<Integer, ActiveForgeData> activeForges; private List<ActiveForgeData> activeForges;
private Integer widgetId; private Integer widgetId;
...@@ -190,7 +190,7 @@ public class Player { ...@@ -190,7 +190,7 @@ public class Player {
this.flyCloakList = new HashSet<>(); this.flyCloakList = new HashSet<>();
this.costumeList = new HashSet<>(); this.costumeList = new HashSet<>();
this.unlockedForgingBlueprints = new HashSet<>(); this.unlockedForgingBlueprints = new HashSet<>();
this.activeForges = new HashMap<>(); this.activeForges = new ArrayList<>();
this.setSceneId(3); this.setSceneId(3);
this.setRegionId(1); this.setRegionId(1);
...@@ -529,7 +529,7 @@ public class Player { ...@@ -529,7 +529,7 @@ public class Player {
return this.unlockedForgingBlueprints; return this.unlockedForgingBlueprints;
} }
public Map<Integer, ActiveForgeData> getActiveForges() { public List<ActiveForgeData> getActiveForges() {
return this.activeForges; 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