Skip to content

Commit

Permalink
add .toLowerCase() on alternative prizes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Aug 26, 2024
1 parent b1bfd3d commit 0a14542
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ public void loadCrates() {
final boolean isEnabled = alternativeSection.getBoolean("Toggle");

if (isEnabled) {
alternativePrize = new Prize(prizeSection.getString("DisplayName", "<lang:item.minecraft." + prizeSection.getString("DisplayItem", "stone") + ">"), prizeSection.getName(), alternativeSection);
alternativePrize = new Prize(prizeSection.getString("DisplayName", "<lang:item.minecraft." + prizeSection.getString("DisplayItem", "stone").toLowerCase() + ">"), prizeSection.getName(), alternativeSection);
}
}

Expand Down

0 comments on commit 0a14542

Please sign in to comment.