mirror of
https://github.com/coah80/LegacyVulkEdition.git
synced 2026-06-25 10:35:32 +00:00
fix: add splitscreen, fix dlcs not loading, major RCE vuln fix on packet net, fix chunk loading on non-server clients, persistent saves
note: I changed how XUID works, player data might be wiped on old saves, save items on a chest or similar before trying to load old saves on new version
This commit is contained in:
@@ -40,7 +40,7 @@ void GameCommandPacket::read(DataInputStream *dis)
|
||||
command = (EGameCommand)dis->readInt();
|
||||
length = dis->readShort();
|
||||
|
||||
if (length > 0 && length < Short::MAX_VALUE)
|
||||
if (length > 0 && length <= Short::MAX_VALUE)
|
||||
{
|
||||
if(data.data != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user