Skip to content

Commit

Permalink
Support 1.21.2 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
PetteriM1 authored Jul 9, 2024
1 parent 90ba7a5 commit 1064456
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/cn/nukkit/network/protocol/ProtocolInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ public interface ProtocolInfo {
* Actual Minecraft: PE protocol version
*/
@SuppressWarnings("UnnecessaryBoxing")
int CURRENT_PROTOCOL = Integer.valueOf("685"); // DO NOT REMOVE BOXING
int CURRENT_PROTOCOL = Integer.valueOf("686"); // DO NOT REMOVE BOXING

List<Integer> SUPPORTED_PROTOCOLS = Ints.asList(CURRENT_PROTOCOL);
List<Integer> SUPPORTED_PROTOCOLS = Ints.asList(685, CURRENT_PROTOCOL);

This comment has been minimized.

Copy link
@azruir10

azruir10 Jul 14, 2024

Chuỗi  MINECRAFT_VERSION_NETWORK = " 1.20.4 " ;
String MINECRAFT_VERSION_NETWORK = "1.21.0";
String MINECRAFT_VERSION_NETWORK = "1.21.2";
String MINECRAFT_VERSION = 'v' + MINECRAFT_VERSION_NETWORK;

byte BATCH_PACKET = (byte) 0xff;
Expand Down

0 comments on commit 1064456

Please sign in to comment.