mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 06:31:26 +00:00
Fix Claiming BP Reward Chests (#1634)
Original commits: * Fix claiming BP chests. * Remove logging.
This commit is contained in:
parent
a2cdec02af
commit
e20b185dc0
@ -212,7 +212,7 @@ public class BattlePassManager extends BasePlayerDataManager {
|
||||
rewardItems.add(rewardItem);
|
||||
}
|
||||
// For ITEM_USE_GRANT_SELECT_REWARD chests, we have to again look up reward data.
|
||||
else if (rewardItemData.getItemUse().get(0).getUseOp().equals("ITEM_USE_GRANT_SELECT_REWARD")) {
|
||||
else if (rewardItemData.getItemUse().get(0).getUseOp() == ItemUseOp.ITEM_USE_GRANT_SELECT_REWARD) {
|
||||
RewardData selectedReward = GameData.getRewardDataMap().get(chosenId);
|
||||
|
||||
for (var r : selectedReward.getRewardItemList()) {
|
||||
|
Loading…
Reference in New Issue
Block a user