Skip to content

Commit

Permalink
Make SoundEventListSettingScreen use identifiers instead of subtitles
Browse files Browse the repository at this point in the history
subtitles can be too generic if you want to select a specific sound
  • Loading branch information
Wide-Cat committed Oct 2, 2024
1 parent cf3a90b commit 06c5422
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -26,6 +25,6 @@ protected WWidget getValueWidget(SoundEvent value) {

@Override
protected String getValueName(SoundEvent value) {
return Names.getSoundName(value.getId());
return value.getId().getPath();
}
}

0 comments on commit 06c5422

Please sign in to comment.