Skip to content

Commit 21bebc9

Browse files
committed
refactor: change private method playButtonSound to protected so that it can be used by classes extending MachineScreen
1 parent a5ce525 commit 21bebc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/dev/galacticraft/machinelib/client/api/screen/MachineScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ protected void renderTooltip(GuiGraphics graphics, int mouseX, int mouseY) {
911911
/**
912912
* Plays a button click sound.
913913
*/
914-
private void playButtonSound() {
914+
protected void playButtonSound() {
915915
assert this.minecraft != null;
916916
this.minecraft.getSoundManager().play(SimpleSoundInstance.forUI(SoundEvents.UI_BUTTON_CLICK, 1.0F));
917917
}

0 commit comments

Comments
 (0)