Skip to content

Commit

Permalink
Merge pull request #912 from booky10/feat/1.21.1-server-version
Browse files Browse the repository at this point in the history
Add 1.21.1 version support
  • Loading branch information
retrooper authored Aug 10, 2024
2 parents fc93419 + b751c63 commit 39f0dee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ public enum ServerVersion {
V_1_19(759), V_1_19_1(760), V_1_19_2(760), V_1_19_3(761), V_1_19_4(762),
//1.20 and 1.20.1 have the same protocol version. 1.20.3 and 1.20.4 have the same protocol version. 1.20.5 and 1.20.6 have the same protocol version
V_1_20(763), V_1_20_1(763), V_1_20_2(764), V_1_20_3(765), V_1_20_4(765), V_1_20_5(766), V_1_20_6(766),
V_1_21(767),
//1.21 and 1.21.1 have the same protocol version
V_1_21(767), V_1_21_1(767),
//TODO UPDATE Add server version constant
ERROR(-1, true);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ public enum ClientVersion {
* 1.20.5 and 1.20.6 have the same protocol version.
*/
V_1_20_5(766),


/**
* 1.21 and 1.21.1 have the same protocol version.
*/
V_1_21(767),
//TODO UPDATE Add new protocol version field

Expand Down

0 comments on commit 39f0dee

Please sign in to comment.