9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-28 03:19:15 +00:00

Fix possible float deviation

This commit is contained in:
XiaoMoMi
2024-09-27 02:07:48 +08:00
parent 780ec12fdb
commit 2ad19657bf
2 changed files with 11 additions and 19 deletions

View File

@@ -95,19 +95,11 @@ public class VersionHelper {
}
public static boolean isVersionNewerThan1_19_4() {
return version >= 19.4;
}
public static boolean isVersionNewerThan1_19_3() {
return version >= 19.3;
return version >= 19.39;
}
public static boolean isVersionNewerThan1_20() {
return version >= 20.0;
}
public static boolean isVersionNewerThan1_20_5() {
return version >= 20.5;
return version >= 20;
}
public static boolean isFolia() {