Marked forge packets as 'chunk' packets. Giving them a higher priority making the initial mod list check more reliable.

This commit is contained in:
LexManos 2012-02-22 11:59:36 -08:00
parent 745539626d
commit 86adb815e6

View file

@ -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;
} }