mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Marked forge packets as 'chunk' packets. Giving them a higher priority making the initial mod list check more reliable.
This commit is contained in:
1 parent
745539626d
commit
86adb815e6
1 file changed
+1
@@ -40,6 +40,7 @@ public abstract class ForgePacket
|
||||
pkt.channel = "Forge";
|
||||
pkt.data = bytes.toByteArray();
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user