3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00

Merge pull request #119 from Leymooo/1.13.2

1.13.2
Dieser Commit ist enthalten in:
Andrew Steinborn 2018-10-22 11:03:58 -04:00 committet von GitHub
Commit 8a8199ca33
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
2 geänderte Dateien mit 6 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -18,11 +18,12 @@ public enum ProtocolConstants { ;
public static final int MINECRAFT_1_12_2 = 340; public static final int MINECRAFT_1_12_2 = 340;
public static final int MINECRAFT_1_13 = 393; public static final int MINECRAFT_1_13 = 393;
public static final int MINECRAFT_1_13_1 = 401; public static final int MINECRAFT_1_13_1 = 401;
public static final int MINECRAFT_1_13_2 = 404;
public static final int MINIMUM_GENERIC_VERSION = MINECRAFT_1_8; public static final int MINIMUM_GENERIC_VERSION = MINECRAFT_1_8;
public static final int MAXIMUM_GENERIC_VERSION = MINECRAFT_1_13_1; public static final int MAXIMUM_GENERIC_VERSION = MINECRAFT_1_13_2;
public static final String SUPPORTED_GENERIC_VERSION_STRING = "1.8-1.13.1"; public static final String SUPPORTED_GENERIC_VERSION_STRING = "1.8-1.13.2";
public static final ImmutableIntArray SUPPORTED_VERSIONS = ImmutableIntArray.of( public static final ImmutableIntArray SUPPORTED_VERSIONS = ImmutableIntArray.of(
MINECRAFT_1_8, MINECRAFT_1_8,
@ -37,7 +38,8 @@ public enum ProtocolConstants { ;
MINECRAFT_1_12_1, MINECRAFT_1_12_1,
MINECRAFT_1_12_2, MINECRAFT_1_12_2,
MINECRAFT_1_13, MINECRAFT_1_13,
MINECRAFT_1_13_1 MINECRAFT_1_13_1,
MINECRAFT_1_13_2
); );
public static boolean isSupported(int version) { public static boolean isSupported(int version) {

Datei anzeigen

@ -161,7 +161,7 @@ public enum StateRegistry {
LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_9_4, ImmutableIntArray.of(MINECRAFT_1_10, MINECRAFT_1_11, MINECRAFT_1_11_1)); LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_9_4, ImmutableIntArray.of(MINECRAFT_1_10, MINECRAFT_1_11, MINECRAFT_1_11_1));
LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_12, ImmutableIntArray.of(MINECRAFT_1_12_1)); LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_12, ImmutableIntArray.of(MINECRAFT_1_12_1));
LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_12_1, ImmutableIntArray.of(MINECRAFT_1_12_2)); LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_12_1, ImmutableIntArray.of(MINECRAFT_1_12_2));
LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_13, ImmutableIntArray.of(MINECRAFT_1_13_1)); LINKED_PROTOCOL_VERSIONS.put(MINECRAFT_1_13, ImmutableIntArray.of(MINECRAFT_1_13_1, MINECRAFT_1_13_2));
} }
private final ProtocolConstants.Direction direction; private final ProtocolConstants.Direction direction;