From d611a6fdba2d64107faf33d03b223d14055e8a08 Mon Sep 17 00:00:00 2001 From: NOTPIES Date: Mon, 16 Mar 2026 00:01:45 -0300 Subject: [PATCH] fix: max players (finally) --- Core/DedicatedServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/DedicatedServer.cpp b/Core/DedicatedServer.cpp index 1b63b73..be42d9b 100644 --- a/Core/DedicatedServer.cpp +++ b/Core/DedicatedServer.cpp @@ -123,7 +123,7 @@ bool DedicatedServer::init() g_NetworkManager.Initialise(); - for (int i = 0; i < MINECRAFT_NET_MAX_PLAYERS; i++) + for (int i = 0; i < g_ServerMaxPlayers; i++) { IQNet::m_player[i].m_smallId = (BYTE)i; IQNet::m_player[i].m_isRemote = false;