Commit e20b185d authored by GanyusLeftHorn's avatar GanyusLeftHorn Committed by GitHub
Browse files

Fix Claiming BP Reward Chests (#1634)

Original commits:

* Fix claiming BP chests.

* Remove logging.
parent a2cdec02
...@@ -212,7 +212,7 @@ public class BattlePassManager extends BasePlayerDataManager { ...@@ -212,7 +212,7 @@ public class BattlePassManager extends BasePlayerDataManager {
rewardItems.add(rewardItem); rewardItems.add(rewardItem);
} }
// For ITEM_USE_GRANT_SELECT_REWARD chests, we have to again look up reward data. // 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); RewardData selectedReward = GameData.getRewardDataMap().get(chosenId);
for (var r : selectedReward.getRewardItemList()) { for (var r : selectedReward.getRewardItemList()) {
......
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