Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceWalkerRS committed Jan 12, 2024
1 parent 3b99dc5 commit cabe272
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private void onInit(CallbackInfo ci) {
buttons.set(i, new ModMenuButtonWidget(MODS, button.x, button.y, button.getWidth(), ((AccessorButtonWidget) button).getHeight(), ModMenuApi.createModsButtonText()));
} else {
if (ModMenuConfig.MODS_BUTTON_STYLE.getValue() == ModMenuConfig.TitleMenuButtonStyle.SHRINK) {
((AccessorButtonWidget) button).setWidth(98);
button.setWidth(98);
}
modsButtonIndex = i + 1;
if (button.visible) {
Expand Down

0 comments on commit cabe272

Please sign in to comment.