Support Minecraft 1.9.2
This commit is contained in:
parent
463ca00dd7
commit
565e5110db
|
@ -33,7 +33,7 @@ use flate2::read::{ZlibDecoder, ZlibEncoder};
|
||||||
use flate2;
|
use flate2;
|
||||||
use time;
|
use time;
|
||||||
|
|
||||||
pub const SUPPORTED_PROTOCOL: i32 = 107;
|
pub const SUPPORTED_PROTOCOL: i32 = 109;
|
||||||
|
|
||||||
|
|
||||||
/// Helper macro for defining packets
|
/// Helper macro for defining packets
|
||||||
|
|
|
@ -533,7 +533,7 @@ state_packets!(
|
||||||
// The starting gamemode of the client
|
// The starting gamemode of the client
|
||||||
gamemode: u8 =,
|
gamemode: u8 =,
|
||||||
// The dimension the client is starting in
|
// The dimension the client is starting in
|
||||||
dimension: i8 =,
|
dimension: i32 =,
|
||||||
// The difficuilty setting for the server
|
// The difficuilty setting for the server
|
||||||
difficulty: u8 =,
|
difficulty: u8 =,
|
||||||
// The max number of players on the server
|
// The max number of players on the server
|
||||||
|
|
Loading…
Reference in New Issue