Fixed Prerequisite typo

This commit is contained in:
Auxilor
2021-06-17 09:19:42 +01:00
parent 60a83478e8
commit 672b295917

View File

@@ -25,13 +25,22 @@ public class Prerequisite {
);
/**
* Requires the server to be running 1.17
* Requires the server to be running 1.17.
*/
@Deprecated
public static final Prerequisite v1_17 = new Prerequisite(
() -> ProxyConstants.NMS_VERSION.contains("17"),
"Requires server to be running 1.17+"
);
/**
* Requires the server to be running 1.17.
*/
public static final Prerequisite HAS_1_17 = new Prerequisite(
() -> ProxyConstants.NMS_VERSION.contains("17"),
"Requires server to be running 1.17+"
);
/**
* If the necessary prerequisite condition has been met.
*/