mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-17 09:25:06 +01:00
Implement selection chests for BP rewards.
This commit is contained in:
@@ -17,11 +17,12 @@ public class BattlePassRewardData extends GameResource {
|
||||
|
||||
@Override
|
||||
public int getId() {
|
||||
return this.level;
|
||||
// Reward ID is a combination of index and level.
|
||||
// We do this to get a unique ID.
|
||||
return this.indexId * 100 + this.level;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoad() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user