Added Prerequisite#HAS_1_19_4

This commit is contained in:
Auxilor
2023-04-13 11:59:04 -04:00
parent 520523e903
commit 3cced3012c

View File

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