mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-07 09:05:25 +00:00
fix UIScene_HUD, UIScene_InGameInfoMenu
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user