Added 1.20.3 support

This commit is contained in:
Will FP
2023-12-07 15:30:37 +00:00
parent 9ad12c2578
commit 8d2d6153e5
20 changed files with 691 additions and 3 deletions

View File

@@ -37,6 +37,14 @@ public class Prerequisite {
"Requires server to have ProtocolLib"
);
/**
* Requires the server to be running 1.20.3.
*/
public static final Prerequisite HAS_1_20_3 = new Prerequisite(
() -> ProxyConstants.NMS_VERSION.contains("20_R3"),
"Requires server to be running 1.20.3+"
);
/**
* Requires the server to be running 1.20.
*/

View File

@@ -25,7 +25,8 @@ public final class ProxyConstants {
"v1_19_R2",
"v1_19_R3",
"v1_20_R1",
"v1_20_R2"
"v1_20_R2",
"v1_20_R3"
);
private ProxyConstants() {