9.0 #1
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user