Marked forge packets as 'chunk' packets. Giving them a higher priority making the initial mod list check more reliable.
This commit is contained in:
parent
745539626d
commit
86adb815e6
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ public abstract class ForgePacket
|
||||||
pkt.channel = "Forge";
|
pkt.channel = "Forge";
|
||||||
pkt.data = bytes.toByteArray();
|
pkt.data = bytes.toByteArray();
|
||||||
pkt.length = pkt.data.length;
|
pkt.length = pkt.data.length;
|
||||||
|
pkt.isChunkDataPacket = true; //Make our packets higher priority, allowing the initial communication to happen before the client receives all world chunks.
|
||||||
return pkt;
|
return pkt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue