mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-02-13 07:22:53 +08:00
Fix misnamed field
This commit is contained in:
parent
e0c0ed688d
commit
21ef404e14
@ -12,7 +12,7 @@ import java.util.List;
|
||||
public class CompoundData extends GameResource {
|
||||
@Getter(onMethod = @__(@Override))
|
||||
private int id;
|
||||
private int groupId;
|
||||
private int groupID;
|
||||
private int rankLevel;
|
||||
private boolean isDefaultUnlocked;
|
||||
private int costTime;
|
||||
|
@ -38,7 +38,7 @@ public class CookingCompoundManager extends BasePlayerManager {
|
||||
if (compound.isDefaultUnlocked()) {
|
||||
defaultUnlockedCompounds.add(id);
|
||||
}
|
||||
compoundGroups.computeIfAbsent(compound.getGroupId(), gid -> new HashSet<>()).add(id);
|
||||
compoundGroups.computeIfAbsent(compound.getGroupID(), gid -> new HashSet<>()).add(id);
|
||||
});
|
||||
//TODO:Because we haven't implemented fishing feature,unlock all compounds related to fish.Besides,it should be bound to player rather than manager.
|
||||
unlocked = new HashSet<>(defaultUnlockedCompounds);
|
||||
|
Loading…
Reference in New Issue
Block a user