Skip to content

Commit

Permalink
fix(forge): add to claim item usage
Browse files Browse the repository at this point in the history
  • Loading branch information
danorris709 committed Oct 3, 2021
1 parent 7615f53 commit 4b30974
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ public ConfigItem getCompleteItem() {
return this.completeItem;
}

public ConfigItem getToClaimItem() {
return this.toClaimItem;
}

public double getRequiredPercentage() {
return this.requiredPercentage;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static void open(EnvyPlayer<EntityPlayerMP> player) {
} else if (percentage < entry.getValue().getRequiredPercentage()) {
configItem = entry.getValue().getDisplayItem();
} else {
configItem = entry.getValue().getCompleteItem();
configItem = entry.getValue().getToClaimItem();
}

final String finalId = entry.getKey();
Expand Down

0 comments on commit 4b30974

Please sign in to comment.