mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-23 01:21:57 -05:00
Allow > 32,767 map axis lengths because why not
This commit is contained in:
parent
0121a1820f
commit
0a9bb9fafd
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue