Skip to content

Commit

Permalink
Minecraft 1.20.5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
md-5 committed Apr 23, 2024
1 parent b30499e commit 6f70b15
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class ProtocolConstants
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 = 765;
public static final int MINECRAFT_1_20_5 = 1073742015;
public static final int MINECRAFT_1_20_5 = 766;
public static final List<String> SUPPORTED_VERSIONS;
public static final List<Integer> SUPPORTED_VERSION_IDS;

Expand Down Expand Up @@ -104,13 +104,14 @@ public class ProtocolConstants
ProtocolConstants.MINECRAFT_1_19_4,
ProtocolConstants.MINECRAFT_1_20,
ProtocolConstants.MINECRAFT_1_20_2,
ProtocolConstants.MINECRAFT_1_20_3
ProtocolConstants.MINECRAFT_1_20_3,
ProtocolConstants.MINECRAFT_1_20_5
);

if ( SNAPSHOT_SUPPORT )
{
// supportedVersions.add( "1.20.x" );
supportedVersionIds.add( ProtocolConstants.MINECRAFT_1_20_5 );
// supportedVersionIds.add( ProtocolConstants.MINECRAFT_1_20_5 );
}

SUPPORTED_VERSIONS = supportedVersions.build();
Expand Down

0 comments on commit 6f70b15

Please sign in to comment.