From f545068330c24344aa7d38741f9268fca2798973 Mon Sep 17 00:00:00 2001 From: JaTiTV Date: Fri, 31 Dec 2021 01:34:10 +0100 Subject: [PATCH] add 1.19 --- .../net/t2code/lib/Spigot/Lib/minecraftVersion/MCVersion.java | 2 ++ 1 file changed, 2 insertions(+) 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"); } }