This commit is contained in:
JaTiTV 2021-12-31 01:34:10 +01:00
parent 34e59872c0
commit f545068330

View File

@ -16,6 +16,7 @@ public class MCVersion {
public static boolean minecraft1_16; public static boolean minecraft1_16;
public static boolean minecraft1_17; public static boolean minecraft1_17;
public static boolean minecraft1_18; public static boolean minecraft1_18;
public static boolean minecraft1_19;
public static void onCheck(){ public static void onCheck(){
isVersion = Bukkit.getServer().getVersion(); isVersion = Bukkit.getServer().getVersion();
isBuckitVersion = Bukkit.getServer().getBukkitVersion(); isBuckitVersion = Bukkit.getServer().getBukkitVersion();
@ -30,5 +31,6 @@ public class MCVersion {
minecraft1_16 = Bukkit.getServer().getClass().getPackage().getName().contains("1_16"); minecraft1_16 = Bukkit.getServer().getClass().getPackage().getName().contains("1_16");
minecraft1_17 = Bukkit.getServer().getClass().getPackage().getName().contains("1_17"); minecraft1_17 = Bukkit.getServer().getClass().getPackage().getName().contains("1_17");
minecraft1_18 = Bukkit.getServer().getClass().getPackage().getName().contains("1_18"); minecraft1_18 = Bukkit.getServer().getClass().getPackage().getName().contains("1_18");
minecraft1_19 = Bukkit.getServer().getClass().getPackage().getName().contains("1_19");
} }
} }