From 7447fabe0d8d97b42a6c9fb58ac121d2bb04372a Mon Sep 17 00:00:00 2001 From: Sestain <35299377+sestain@users.noreply.github.com> Date: Fri, 27 Mar 2026 22:11:27 +0200 Subject: Fix game crashing if DLC has XMLVERSION paramater (#1285) * Fix game crashing if DLC has XMLVERSION paramater * Better implementation of XMLVersion check * Forgot to add type name to the list * Removed extra newline --- Minecraft.Client/Common/DLC/DLCManager.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Minecraft.Client/Common/DLC/DLCManager.h') diff --git a/Minecraft.Client/Common/DLC/DLCManager.h b/Minecraft.Client/Common/DLC/DLCManager.h index 7191ab0b..f114bd07 100644 --- a/Minecraft.Client/Common/DLC/DLCManager.h +++ b/Minecraft.Client/Common/DLC/DLCManager.h @@ -31,7 +31,8 @@ public: { e_DLCParamType_Invalid = -1, - e_DLCParamType_DisplayName = 0, + e_DLCParamType_XMLVersion = 0, + e_DLCParamType_DisplayName, e_DLCParamType_ThemeName, e_DLCParamType_Free, // identify free skins e_DLCParamType_Credit, // legal credits for DLC -- cgit v1.2.3