From 48b20291838a1934491a1a28c946450f8240d0f3 Mon Sep 17 00:00:00 2001 From: GeorgH93 Date: Thu, 23 Feb 2023 21:05:02 +0100 Subject: [PATCH] Fix pcgf plugin lib version check --- .../at/pcgamingfreaks/Minepacks/Paper/MinepacksBootstrap.java | 3 +-- pom.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Components/Minepacks-Bootstrap-Paper/src/at/pcgamingfreaks/Minepacks/Paper/MinepacksBootstrap.java b/Components/Minepacks-Bootstrap-Paper/src/at/pcgamingfreaks/Minepacks/Paper/MinepacksBootstrap.java index 4fc0c2f..57042d4 100644 --- a/Components/Minepacks-Bootstrap-Paper/src/at/pcgamingfreaks/Minepacks/Paper/MinepacksBootstrap.java +++ b/Components/Minepacks-Bootstrap-Paper/src/at/pcgamingfreaks/Minepacks/Paper/MinepacksBootstrap.java @@ -85,15 +85,14 @@ private boolean checkPcgfPluginLib(final @NotNull PluginProviderContext context) String version = PCGF_PluginLibVersionDetection.getVersionBukkit(); if (version != null) { - if (new Version(version).olderThan(new Version(MagicValues.MIN_PCGF_PLUGIN_LIB_VERSION))) { context.getLogger().info("PCGF-PluginLib to old! Switching to standalone mode!"); - return true; } else { context.getLogger().info("PCGF-PluginLib installed. Switching to normal mode!"); + return true; } } else diff --git a/pom.xml b/pom.xml index ecfc27d..c35f27d 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ pom - 2.4.13 + 2.4.13.1 UTF-8 UTF-8