Support Minecraft 1.9.2

This commit is contained in:
Thinkofname 2016-03-31 20:50:54 +01:00
parent 463ca00dd7
commit 565e5110db
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ use flate2::read::{ZlibDecoder, ZlibEncoder};
use flate2;
use time;
pub const SUPPORTED_PROTOCOL: i32 = 107;
pub const SUPPORTED_PROTOCOL: i32 = 109;
/// Helper macro for defining packets

View File

@ -533,7 +533,7 @@ state_packets!(
// The starting gamemode of the client
gamemode: u8 =,
// The dimension the client is starting in
dimension: i8 =,
dimension: i32 =,
// The difficuilty setting for the server
difficulty: u8 =,
// The max number of players on the server