Support Minecraft 1.9.2

This commit is contained in:
Thinkofname 2016-03-31 20:50:54 +01:00
parent 643737c00f
commit e2fa041607
3 changed files with 3 additions and 3 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

View File

@ -23,7 +23,7 @@ use std::io;
use std::fs;
use std::sync::mpsc;
const RESOURCES_VERSION: &'static str = "1.9";
const RESOURCES_VERSION: &'static str = "1.9.2";
pub trait Pack: Sync + Send {
fn open(&self, name: &str) -> Option<Box<io::Read>>;