Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +01:00
Rename 1_9_1 PRE to just 1_9_1
Dieser Commit ist enthalten in:
Ursprung
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;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren