Able to detect 1.20.1 servers

This commit is contained in:
retrooper committed 2023-06-14 23:24:25 +02:00
1 parent 1bbc2cba77
commit 5939573ee3
1 file changed
+2 -1
@@ -46,7 +46,8 @@ public enum ServerVersion {
v_1_18(757), v_1_18_1(757), v_1_18_2(758),
//TODO Update (checkpoint)
v_1_19(759), v_1_19_1(760), v_1_19_2(760), v_1_19_3(761), v_1_19_4(762),
v_1_20(763),
//Same protocol version
v_1_20(763), v_1_20_1(763),
ERROR(-1);
private static final String NMS_VERSION_SUFFIX = Bukkit.getServer().getClass().getPackage().getName()