mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-25 14:14:46 -04:00
Allow > 32,767 map axis lengths because why not
This commit is contained in:
parent
0121a1820f
commit
0a9bb9fafd
@ -130,9 +130,9 @@ namespace ClassicalSharp.Network.Protocols {
|
||||
}
|
||||
prevScreen = null;
|
||||
|
||||
int mapWidth = reader.ReadInt16();
|
||||
int mapHeight = reader.ReadInt16();
|
||||
int mapLength = reader.ReadInt16();
|
||||
int mapWidth = reader.ReadUInt16();
|
||||
int mapHeight = reader.ReadUInt16();
|
||||
int mapLength = reader.ReadUInt16();
|
||||
|
||||
double loadingMs = (DateTime.UtcNow - mapReceiveStart).TotalMilliseconds;
|
||||
Utils.LogDebug("map loading took: " + loadingMs);
|
||||
|
Loading…
x
Reference in New Issue
Block a user