diff --git a/src/main/java/net/t2code/lib/Spigot/Lib/minecraftVersion/MCVersion.java b/src/main/java/net/t2code/lib/Spigot/Lib/minecraftVersion/MCVersion.java index ff6854a..0d41e80 100644 --- a/src/main/java/net/t2code/lib/Spigot/Lib/minecraftVersion/MCVersion.java +++ b/src/main/java/net/t2code/lib/Spigot/Lib/minecraftVersion/MCVersion.java @@ -16,6 +16,7 @@ public class MCVersion { public static boolean minecraft1_16; public static boolean minecraft1_17; public static boolean minecraft1_18; + public static boolean minecraft1_19; public static void onCheck(){ isVersion = Bukkit.getServer().getVersion(); isBuckitVersion = Bukkit.getServer().getBukkitVersion(); @@ -30,5 +31,6 @@ public class MCVersion { minecraft1_16 = Bukkit.getServer().getClass().getPackage().getName().contains("1_16"); minecraft1_17 = Bukkit.getServer().getClass().getPackage().getName().contains("1_17"); minecraft1_18 = Bukkit.getServer().getClass().getPackage().getName().contains("1_18"); + minecraft1_19 = Bukkit.getServer().getClass().getPackage().getName().contains("1_19"); } }