mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-16 07:05:31 +01:00
Rename 1_9_1 PRE to just 1_9_1
This commit is contained in:
parent
2abecba7bf
commit
75c9284cda
@ -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) {
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user