From be76c9cdb3ee8ce8da02c5176c08eb6992bbb05c Mon Sep 17 00:00:00 2001 From: Tropical <42101043+tropicaaal@users.noreply.github.com> Date: Sun, 22 Mar 2026 12:52:44 -0500 Subject: [PATCH] fix UIScene_HUD, UIScene_InGameInfoMenu --- Minecraft.Client/Platform/Common/UI/UIScene_HUD.cpp | 1 + .../Platform/Common/UI/UIScene_InGameInfoMenu.cpp | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Minecraft.Client/Platform/Common/UI/UIScene_HUD.cpp b/Minecraft.Client/Platform/Common/UI/UIScene_HUD.cpp index 89516254f..907eaf6d3 100644 --- a/Minecraft.Client/Platform/Common/UI/UIScene_HUD.cpp +++ b/Minecraft.Client/Platform/Common/UI/UIScene_HUD.cpp @@ -1,6 +1,7 @@ #include "../../Minecraft.World/Platform/stdafx.h" #include "UI.h" #include "UIScene_HUD.h" +#include "../../Minecraft.Client/UI/BossMobGuiInfo.h" #include "../../Minecraft.Client/Minecraft.h" #include "../../Minecraft.Client/Player/MultiPlayerLocalPlayer.h" #include "../../Minecraft.World/Headers/net.minecraft.world.entity.boss.enderdragon.h" diff --git a/Minecraft.Client/Platform/Common/UI/UIScene_InGameInfoMenu.cpp b/Minecraft.Client/Platform/Common/UI/UIScene_InGameInfoMenu.cpp index 3ed39d34f..647e0fcee 100644 --- a/Minecraft.Client/Platform/Common/UI/UIScene_InGameInfoMenu.cpp +++ b/Minecraft.Client/Platform/Common/UI/UIScene_InGameInfoMenu.cpp @@ -171,12 +171,8 @@ void UIScene_InGameInfoMenu::handleReload() { INetworkPlayer* player = g_NetworkManager.GetPlayerByIndex(i); if (player != NULL) { - m_players[i] = player->GetSmallId(); - ++m_playersCount; + PlayerInfo* info = BuildPlayerInfo(player); - std::wstring playerName = L""; - if (app.DebugSettingsOn() && - (1L << eDebugSetting_DebugLeaderboards))) { m_players.push_back(info); m_playerList.addItem(info->m_name, info->m_colorState, info->m_voiceStatus);