LCEMP commit: prepare code for dedicated server support

This commit is contained in:
2026-08-14 13:32:11 +03:00
parent 67a8111974
commit f404e4b4e4
13 changed files with 150 additions and 23 deletions
+8
View File
@@ -4963,11 +4963,18 @@ void Minecraft::handleClientTextureReceived(const wstring &textureName)
unsigned int Minecraft::getCurrentTexturePackId()
{
#ifdef _DEDICATED_SERVER
return 0;
#else
return skins->getSelected()->getId();
#endif
}
ColourTable *Minecraft::getColourTable()
{
#ifdef _DEDICATED_SERVER
return NULL;
#else
TexturePack *selected = skins->getSelected();
ColourTable *colours = selected->getColourTable();
@@ -4978,6 +4985,7 @@ ColourTable *Minecraft::getColourTable()
}
return colours;
#endif
}
#if defined __ORBIS__