Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Grasscutter
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
ziqian zhang
Grasscutter
Commits
e20b185d
Commit
e20b185d
authored
2 years ago
by
GanyusLeftHorn
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix Claiming BP Reward Chests (#1634)
Original commits: * Fix claiming BP chests. * Remove logging.
parent
a2cdec02
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/emu/grasscutter/game/battlepass/BattlePassManager.java
+1
-1
1 addition, 1 deletion
...va/emu/grasscutter/game/battlepass/BattlePassManager.java
with
1 addition
and
1 deletion
src/main/java/emu/grasscutter/game/battlepass/BattlePassManager.java
+
1
−
1
View file @
e20b185d
...
...
@@ -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
())
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment