Skip to content

Commit

Permalink
rename mystery box sounds to note block sounds
Browse files Browse the repository at this point in the history
  • Loading branch information
MicrocontrollersDev committed Jun 20, 2024
1 parent 51cb660 commit 7c08a51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/polyfrost/hytils/config/HytilsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -1065,11 +1065,11 @@ public class HytilsConfig extends Config {
public static boolean lobbyDisableDeliveryManSounds;

@Switch(
name = "Disable Mystery Box Sounds",
description = "Remove sounds created by mystery boxes.",
name = "Disable Note Block Sounds",
description = "Remove sounds created by Note Blocks.",
category = "Lobby", subcategory = "Sounds"
)
public static boolean lobbyDisableMysteryBoxSounds;
public static boolean lobbyDisableNoteBlockSounds;

@Switch(
name = "Disable Firework Sounds",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void onSoundPlay(PlaySoundEvent event) {
event.result = null;
}

if ((sound.startsWith("note.") || sound.equals("random.click")) && HytilsConfig.lobbyDisableMysteryBoxSounds) {
if ((sound.startsWith("note.") || sound.equals("random.click")) && HytilsConfig.lobbyDisableNoteBlockSounds) {
event.result = null;
}

Expand Down

0 comments on commit 7c08a51

Please sign in to comment.