Instead of sending 20 records in 2 packets, send just one as we intended in the first place.
parent
d3b778ebbe
commit
73c5a6e666
|
@ -999,7 +999,7 @@ return;
|
||||||
MapBlockData block = new MapBlockData();
|
MapBlockData block = new MapBlockData();
|
||||||
MapBlockFromGridRegion(block, r, flag);
|
MapBlockFromGridRegion(block, r, flag);
|
||||||
mapBlocks.Add(block);
|
mapBlocks.Add(block);
|
||||||
if (mapBlocks.Count >= 20)
|
if (mapBlocks.Count >= 10)
|
||||||
{
|
{
|
||||||
remoteClient.SendMapBlock(mapBlocks, flag & 0xffff);
|
remoteClient.SendMapBlock(mapBlocks, flag & 0xffff);
|
||||||
mapBlocks.Clear();
|
mapBlocks.Clear();
|
||||||
|
|
Loading…
Reference in New Issue