mirror of
https://github.com/LCEMP/LCEMP-Server.git
synced 2026-07-18 01:41:23 +00:00
fix: max players (finally)
This commit is contained in:
@@ -123,7 +123,7 @@ bool DedicatedServer::init()
|
|||||||
|
|
||||||
g_NetworkManager.Initialise();
|
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_smallId = (BYTE)i;
|
||||||
IQNet::m_player[i].m_isRemote = false;
|
IQNet::m_player[i].m_isRemote = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user