Rename 1_9_1 PRE to just 1_9_1

This commit is contained in:
Matsv 2016-03-30 18:23:52 +02:00
parent 2abecba7bf
commit 75c9284cda
3 changed files with 3 additions and 3 deletions

View File

@ -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... // For 1.8/1.9 server version, eventually we'll probably get an API for this...
if (ProtocolRegistry.SERVER_PROTOCOL >= ProtocolVersion.V1_8 && if (ProtocolRegistry.SERVER_PROTOCOL >= ProtocolVersion.V1_8 &&
ProtocolRegistry.SERVER_PROTOCOL <= ProtocolVersion.V1_9_1_PRE2) { ProtocolRegistry.SERVER_PROTOCOL <= ProtocolVersion.V1_9_1) {
PacketType type; PacketType type;
if (ProtocolRegistry.SERVER_PROTOCOL == ProtocolVersion.V1_8) { if (ProtocolRegistry.SERVER_PROTOCOL == ProtocolVersion.V1_8) {

View File

@ -15,7 +15,7 @@ public class ProtocolRegistry {
static { static {
// Register built in protocols // Register built in protocols
registerProtocol(new Protocol1_9TO1_8(), Collections.singletonList(ProtocolVersion.V1_9), ProtocolVersion.V1_8); 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);
} }
/** /**

View File

@ -8,6 +8,6 @@ public class ProtocolVersion {
public static final int V1_8 = 47; public static final int V1_8 = 47;
public static final int V1_9 = 107; 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; public static final int V1_9_2 = 109;
} }