Skip to content

Commit

Permalink
fix: ui config value maximum crashes game
Browse files Browse the repository at this point in the history
  • Loading branch information
sekwah41 committed May 5, 2022
1 parent f6647a7 commit 0e4a015
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public class NarutoConfig {

configBuilder.comment("Variables for UI").push(CATEGORY_UI);
CONFIG_CHAKRA_BAR_DESIGN = configBuilder.comment("Design for the chara bar")
.defineInRange("chakraBarDesign", 0, 0, BarDesigns.BarInfo.values().length);
.defineInRange("chakraBarDesign", 0, 0, BarDesigns.BarInfo.values().length - 1);

configBuilder.pop();

Expand Down

0 comments on commit 0e4a015

Please sign in to comment.