Client now sends InstantMOTD cpe extension to server.

This way server can reliably know if it is safe to send a handshake/motd packet to update MOTD, without needing to also send the map, which freezes come clients.
This commit is contained in:
UnknownShadow200 2018-01-13 09:49:44 +11:00
parent 061628999e
commit 2cd9e766aa

View file

@ -70,7 +70,7 @@ namespace ClassicalSharp.Network {
"EnvColors", "SelectionCuboid", "BlockPermissions", "ChangeModel", "EnvMapAppearance",
"EnvWeatherType", "MessageTypes", "HackControl", "PlayerClick", "FullCP437",
"LongerMessages", "BlockDefinitions", "BlockDefinitionsExt", "BulkBlockUpdate", "TextColors",
"EnvMapAspect", "EntityProperty", "ExtEntityPositions", "TwoWayPing", "InventoryOrder",
"EnvMapAspect", "EntityProperty", "ExtEntityPositions", "TwoWayPing", "InventoryOrder", "InstantMOTD",
};
}
}