mirror of
https://github.com/Melledy/Grasscutter.git
synced 2025-02-05 05:45:40 +00:00
Change active forges in player to list.
This commit is contained in:
parent
8db0500e9d
commit
9d6bc2a910
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user