From 35736d7a94f9b997e44b0cacaec20472dcf89a05 Mon Sep 17 00:00:00 2001 From: Leymooo Date: Mon, 22 Oct 2018 17:22:28 +0300 Subject: [PATCH] 1.13.2 --- .../velocitypowered/proxy/protocol/ProtocolConstants.java | 8 +++++--- .../com/velocitypowered/proxy/protocol/StateRegistry.java | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolConstants.java b/proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolConstants.java index 85a11d557..9737e3224 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolConstants.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/protocol/ProtocolConstants.java @@ -18,11 +18,12 @@ public enum ProtocolConstants { ; public static final int MINECRAFT_1_12_2 = 340; public static final int MINECRAFT_1_13 = 393; 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 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( MINECRAFT_1_8, @@ -37,7 +38,8 @@ public enum ProtocolConstants { ; MINECRAFT_1_12_1, MINECRAFT_1_12_2, MINECRAFT_1_13, - MINECRAFT_1_13_1 + MINECRAFT_1_13_1, + MINECRAFT_1_13_2 ); public static boolean isSupported(int version) { diff --git a/proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java b/proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java index 56bd3c76e..dec0466a7 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/protocol/StateRegistry.java @@ -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_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_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;