Skip to content

Commit

Permalink
Update FabricControlsScreenComponents.java
Browse files Browse the repository at this point in the history
Co-authored-by: Shrish Deshpande <shrish.deshpande@icloud.com>
  • Loading branch information
thecatcore and BoogieMonster1O1 committed Jul 2, 2024
1 parent 3fdba1f commit fa58449
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static class ControlsButtonWidget extends ButtonWidget {
Type type;

public ControlsButtonWidget(int x, int y, Type type, ControlsScreenExtensions extensions) {
super(1000 + type.ordinal(), x, y, 20, 20, "");
super(1000 + type.ordinal(), x, y, 20, 20, type.text);
this.extensions = extensions;
this.type = type;
this.gui = (ControlsOptionsScreen) extensions;
Expand Down

0 comments on commit fa58449

Please sign in to comment.