mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-22 18:09:06 +00:00
Update src/main/java/mineverse/Aust1n46/chat/versions/VersionHandler.java
Co-authored-by: Derek Lee <derek.evilcornrules@gmail.com>
This commit is contained in:
parent
35417bd9de
commit
e315824ae9
@ -67,10 +67,7 @@ public final class VersionHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isUnder_1_19() {
|
public static boolean isUnder_1_19() {
|
||||||
if (SERVER_VERSION.getMajor() < 1) {
|
return !SERVER_VERSION.isAtLeast(MC1_19);
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return SERVER_VERSION.getMajor() == 1 && SERVER_VERSION.getMinor() < 19;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isAbove_1_19() {
|
public static boolean isAbove_1_19() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user