From 06c5422f2fc64396059a1ac7323f9cfc53be4c97 Mon Sep 17 00:00:00 2001 From: Wide_Cat Date: Wed, 2 Oct 2024 18:54:44 +0100 Subject: [PATCH] Make SoundEventListSettingScreen use identifiers instead of subtitles subtitles can be too generic if you want to select a specific sound --- .../gui/screens/settings/SoundEventListSettingScreen.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/meteordevelopment/meteorclient/gui/screens/settings/SoundEventListSettingScreen.java b/src/main/java/meteordevelopment/meteorclient/gui/screens/settings/SoundEventListSettingScreen.java index 992aab1d8d..e2c58db1ac 100644 --- a/src/main/java/meteordevelopment/meteorclient/gui/screens/settings/SoundEventListSettingScreen.java +++ b/src/main/java/meteordevelopment/meteorclient/gui/screens/settings/SoundEventListSettingScreen.java @@ -8,7 +8,6 @@ import meteordevelopment.meteorclient.gui.GuiTheme; import meteordevelopment.meteorclient.gui.widgets.WWidget; import meteordevelopment.meteorclient.settings.Setting; -import meteordevelopment.meteorclient.utils.misc.Names; import net.minecraft.registry.Registries; import net.minecraft.sound.SoundEvent; @@ -26,6 +25,6 @@ protected WWidget getValueWidget(SoundEvent value) { @Override protected String getValueName(SoundEvent value) { - return Names.getSoundName(value.getId()); + return value.getId().getPath(); } }