From 8ea8c83f7928d0f853e49b082a5d985be626ce75 Mon Sep 17 00:00:00 2001 From: GeorgH93 Date: Sun, 13 Jun 2021 16:32:18 +0200 Subject: [PATCH] Add support for MC 1.17 (Closes #167) --- Minepacks/pom.xml | 16 ++++++++++++---- .../Minepacks/Bukkit/MagicValues.java | 4 ++-- .../Minepacks/Bukkit/Minepacks.java | 2 +- pom.xml | 2 +- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/Minepacks/pom.xml b/Minepacks/pom.xml index 3e2855a..b87237a 100644 --- a/Minepacks/pom.xml +++ b/Minepacks/pom.xml @@ -25,8 +25,16 @@ ${project.groupId}.${project.artifactId}.Bukkit.${project.artifactId} Normal Release + 3.3.0-SNAPSHOT + + + apache-snapshot + https://repository.apache.org/content/repositories/snapshots/ + + + @@ -38,7 +46,7 @@ at.pcgamingfreaks PluginLib - 1.0.30-SNAPSHOT + 1.0.33-SNAPSHOT @@ -83,7 +91,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.2.1 + ${mavenShade.version} package @@ -151,7 +159,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.2.1 + ${mavenShade.version} package @@ -243,7 +251,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.2.1 + ${mavenShade.version} package diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/MagicValues.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/MagicValues.java index b8cbda5..d4e4e74 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/MagicValues.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/MagicValues.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 GeorgH93 + * Copyright (C) 2021 GeorgH93 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,6 +21,6 @@ public class MagicValues { - public static final String MIN_PCGF_PLUGIN_LIB_VERSION = "1.0.28-SNAPSHOT"; + public static final String MIN_PCGF_PLUGIN_LIB_VERSION = "1.0.33-SNAPSHOT"; public static final MCVersion MIN_MC_VERSION_FOR_UPDATES = MCVersion.MC_1_8; } \ No newline at end of file diff --git a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Minepacks.java b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Minepacks.java index 6ec37d0..cad76e1 100644 --- a/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Minepacks.java +++ b/Minepacks/src/at/pcgamingfreaks/Minepacks/Bukkit/Minepacks.java @@ -116,7 +116,7 @@ public void onEnable() private boolean checkMcVersion() { - if(MCVersion.is(MCVersion.UNKNOWN) || !MCVersion.isUUIDsSupportAvailable() || MCVersion.isNewerThan(MCVersion.MC_NMS_1_16_R3)) + if(MCVersion.is(MCVersion.UNKNOWN) || !MCVersion.isUUIDsSupportAvailable() || MCVersion.isNewerThan(MCVersion.MC_NMS_1_17_R1)) { this.warnOnVersionIncompatibility(); this.setEnabled(false); diff --git a/pom.xml b/pom.xml index 7dba243..fc16ae9 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ pom - 2.3.24 + 2.4-RC1 UTF-8 UTF-8