From 2ddf72a4eb5407ac918f4540d4b28b4f882a2da9 Mon Sep 17 00:00:00 2001 From: "George V." Date: Mon, 13 Apr 2026 22:45:10 +0300 Subject: [PATCH] fix(audio): restore missing comma lost in upstream merge A comma between "item.armor.equip_generic6" and "damage.critical" was accidentally dropped during an upstream merge, causing the two entries to be concatenated into a single string literal at compile time. This produced an invalid sound key and led to crashes when: - equipping armor - triggering critical hits --- Minecraft.Client/Common/Audio/SoundNames.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft.Client/Common/Audio/SoundNames.cpp b/Minecraft.Client/Common/Audio/SoundNames.cpp index 3ca33c32..05fe5a52 100644 --- a/Minecraft.Client/Common/Audio/SoundNames.cpp +++ b/Minecraft.Client/Common/Audio/SoundNames.cpp @@ -269,7 +269,7 @@ const WCHAR *ConsoleSoundEngine::wchSoundNames[eSoundType_MAX]= L"item.armor.equip_generic3", L"item.armor.equip_generic4", L"item.armor.equip_generic5", - L"item.armor.equip_generic6" + L"item.armor.equip_generic6", L"damage.critical", //eSoundType_DAMAGE_CRITICAL, };