Skip to content
Permalink
Browse files

Actually indicate to the client that server supports InventoryOrder a…

…nd InstantMOTD
  • Loading branch information...
UnknownShadow200 committed Apr 1, 2018
1 parent 88d3b44 commit 24ce8e4cd363b18c3f27f879ebc268e7eadb086c
Showing with 4 additions and 1 deletion.
  1. +4 −1 fCraft/Network/Player.Handshake.cs
@@ -217,7 +217,7 @@ public class Players {

bool NegotiateProtocolExtension() {
// write our ExtInfo and ExtEntry packets
writer.Write(Packet.MakeExtInfo("ProCraft", 27).Bytes);
writer.Write(Packet.MakeExtInfo("ProCraft", 29).Bytes);

writer.Write(Packet.MakeExtEntry(ClickDistanceExtName, 1).Bytes);
writer.Write(Packet.MakeExtEntry(CustomBlocksExtName, 1).Bytes);
@@ -253,6 +253,9 @@ public class Players {

writer.Write(Packet.MakeExtEntry(EntityPropertyExtName, 1).Bytes);
writer.Write(Packet.MakeExtEntry(TwoWayPingExtName, 1).Bytes);
writer.Write(Packet.MakeExtEntry(InventoryOrderExtName, 1).Bytes);

writer.Write(Packet.MakeExtEntry(InstantMOTDExtName, 1).Bytes);

// Fix for ClassiCube Client which violates the spec -
// If server supports version > 1 but client version 1, client should reply with version 1.

0 comments on commit 24ce8e4

Please sign in to comment.
You can’t perform that action at this time.