From 88bedd3b78424d55aac14a86b1cafabc61dd9c5d Mon Sep 17 00:00:00 2001 From: GeorgH93 Date: Tue, 7 Jun 2022 21:19:31 +0200 Subject: [PATCH] Add support for MC 1.19 #216 --- Minepacks/pom.xml | 2 +- Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Minepacks.java | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Minepacks/pom.xml b/Minepacks/pom.xml index 7a0bec3..6026d1e 100644 --- a/Minepacks/pom.xml +++ b/Minepacks/pom.xml @@ -46,7 +46,7 @@ at.pcgamingfreaks PluginLib - 1.0.36-SNAPSHOT + 1.0.37-SNAPSHOT diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Minepacks.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Minepacks.java index 1a3e0cc..b846d00 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Minepacks.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Minepacks.java @@ -117,7 +117,7 @@ public void onEnable() private boolean checkMcVersion() { - if(MCVersion.is(MCVersion.UNKNOWN) || !MCVersion.isUUIDsSupportAvailable() || MCVersion.isNewerThan(MCVersion.MC_NMS_1_18_R2)) + if(MCVersion.is(MCVersion.UNKNOWN) || !MCVersion.isUUIDsSupportAvailable() || MCVersion.isNewerThan(MCVersion.MC_NMS_1_19_R1)) { this.warnOnVersionIncompatibility(); this.setEnabled(false); diff --git a/pom.xml b/pom.xml index f2e8600..7ac42d2 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ pom - 2.4.5.1 + 2.4.6-beta UTF-8 UTF-8