From 8bd59d7138b3c103f69b50db36c47be3201730a5 Mon Sep 17 00:00:00 2001 From: Final Child Date: Thu, 9 Jun 2016 17:47:46 +0900 Subject: [PATCH] Update to MC 1.10 --- src/main/java/org/spacehq/mc/protocol/MinecraftConstants.java | 4 ++-- .../ingame/server/world/ServerPlayBuiltinSoundPacket.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/spacehq/mc/protocol/MinecraftConstants.java b/src/main/java/org/spacehq/mc/protocol/MinecraftConstants.java index 4dfe1d00..d71c61f5 100644 --- a/src/main/java/org/spacehq/mc/protocol/MinecraftConstants.java +++ b/src/main/java/org/spacehq/mc/protocol/MinecraftConstants.java @@ -2,8 +2,8 @@ package org.spacehq.mc.protocol; public class MinecraftConstants { // General Constants - public static final String GAME_VERSION = "1.10-pre1"; - public static final int PROTOCOL_VERSION = 204; + public static final String GAME_VERSION = "1.10"; + public static final int PROTOCOL_VERSION = 210; // General Key Constants public static final String PROFILE_KEY = "profile"; diff --git a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java b/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java index ef17fbe6..52c29f50 100644 --- a/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java +++ b/src/main/java/org/spacehq/mc/protocol/packet/ingame/server/world/ServerPlayBuiltinSoundPacket.java @@ -70,6 +70,7 @@ public class ServerPlayBuiltinSoundPacket implements Packet { this.y = in.readInt() / 8D; this.z = in.readInt() / 8D; this.volume = in.readFloat(); + this.pitch = in.readFloat(); } @Override