From 75c9284cda676bdaa21b23a09438a0eea6478323 Mon Sep 17 00:00:00 2001 From: Matsv Date: Wed, 30 Mar 2016 18:23:52 +0200 Subject: [PATCH] Rename 1_9_1 PRE to just 1_9_1 --- .../java/us/myles/ViaVersion/api/protocol/ProtocolPipeline.java | 2 +- .../java/us/myles/ViaVersion/api/protocol/ProtocolRegistry.java | 2 +- .../java/us/myles/ViaVersion/api/protocol/ProtocolVersion.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolPipeline.java b/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolPipeline.java index ba1250a01..0dc6d65d1 100644 --- a/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolPipeline.java +++ b/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolPipeline.java @@ -83,7 +83,7 @@ public class ProtocolPipeline extends Protocol { // For 1.8/1.9 server version, eventually we'll probably get an API for this... if (ProtocolRegistry.SERVER_PROTOCOL >= ProtocolVersion.V1_8 && - ProtocolRegistry.SERVER_PROTOCOL <= ProtocolVersion.V1_9_1_PRE2) { + ProtocolRegistry.SERVER_PROTOCOL <= ProtocolVersion.V1_9_1) { PacketType type; if (ProtocolRegistry.SERVER_PROTOCOL == ProtocolVersion.V1_8) { diff --git a/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolRegistry.java b/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolRegistry.java index c44ef536d..81fe8e874 100644 --- a/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolRegistry.java +++ b/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolRegistry.java @@ -15,7 +15,7 @@ public class ProtocolRegistry { static { // Register built in protocols registerProtocol(new Protocol1_9TO1_8(), Collections.singletonList(ProtocolVersion.V1_9), ProtocolVersion.V1_8); - registerProtocol(new Protocol1_9_1TO1_9(), Arrays.asList(ProtocolVersion.V1_9_1_PRE2, ProtocolVersion.V1_9_2), ProtocolVersion.V1_9); + registerProtocol(new Protocol1_9_1TO1_9(), Arrays.asList(ProtocolVersion.V1_9_1, ProtocolVersion.V1_9_2), ProtocolVersion.V1_9); } /** diff --git a/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolVersion.java b/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolVersion.java index 9dbb3ac3d..c0221ff73 100644 --- a/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolVersion.java +++ b/src/main/java/us/myles/ViaVersion/api/protocol/ProtocolVersion.java @@ -8,6 +8,6 @@ public class ProtocolVersion { public static final int V1_8 = 47; public static final int V1_9 = 107; - public static final int V1_9_1_PRE2 = 108; // used for 1.9.1 + public static final int V1_9_1 = 108; // used for 1.9.1 public static final int V1_9_2 = 109; }