From 8ce7a7f8b6631b12e2438542eb86633f631a68ec Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 6 Dec 2023 03:40:00 +1100 Subject: [PATCH] Minecraft 1.20.3 support --- .../java/net/md_5/bungee/protocol/ProtocolConstants.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java index 80266ded..6cb4c798 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java @@ -44,7 +44,7 @@ public class ProtocolConstants public static final int MINECRAFT_1_19_4 = 762; public static final int MINECRAFT_1_20 = 763; public static final int MINECRAFT_1_20_2 = 764; - public static final int MINECRAFT_1_20_3 = 1073741992; + public static final int MINECRAFT_1_20_3 = 765; public static final List SUPPORTED_VERSIONS; public static final List SUPPORTED_VERSION_IDS; @@ -102,13 +102,14 @@ public class ProtocolConstants ProtocolConstants.MINECRAFT_1_19_3, ProtocolConstants.MINECRAFT_1_19_4, ProtocolConstants.MINECRAFT_1_20, - ProtocolConstants.MINECRAFT_1_20_2 + ProtocolConstants.MINECRAFT_1_20_2, + ProtocolConstants.MINECRAFT_1_20_3 ); if ( SNAPSHOT_SUPPORT ) { // supportedVersions.add( "1.20.x" ); - supportedVersionIds.add( ProtocolConstants.MINECRAFT_1_20_3 ); + // supportedVersionIds.add( ProtocolConstants.MINECRAFT_1_20_3 ); } SUPPORTED_VERSIONS = supportedVersions.build();