Skip to content


Actually indicate to the client that server supports InventoryOrder a…
Browse files Browse the repository at this point in the history
…nd InstantMOTD
  • Loading branch information
UnknownShadow200 committed Apr 1, 2018
1 parent 88d3b44 commit 24ce8e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fCraft/Network/Player.Handshake.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 24ce8e4

Please sign in to comment.