Support Minecraft 1.9.2
This commit is contained in:
parent
643737c00f
commit
e2fa041607
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>>;
|
||||
|
|
Loading…
Reference in New Issue