mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-11-14 10:45:23 +01:00
Fix pcgf plugin lib version check
This commit is contained in:
parent
749676c1a9
commit
48b2029183
@ -85,15 +85,14 @@ private boolean checkPcgfPluginLib(final @NotNull PluginProviderContext context)
|
|||||||
String version = PCGF_PluginLibVersionDetection.getVersionBukkit();
|
String version = PCGF_PluginLibVersionDetection.getVersionBukkit();
|
||||||
if (version != null)
|
if (version != null)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (new Version(version).olderThan(new Version(MagicValues.MIN_PCGF_PLUGIN_LIB_VERSION)))
|
if (new Version(version).olderThan(new Version(MagicValues.MIN_PCGF_PLUGIN_LIB_VERSION)))
|
||||||
{
|
{
|
||||||
context.getLogger().info("PCGF-PluginLib to old! Switching to standalone mode!");
|
context.getLogger().info("PCGF-PluginLib to old! Switching to standalone mode!");
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
context.getLogger().info("PCGF-PluginLib installed. Switching to normal mode!");
|
context.getLogger().info("PCGF-PluginLib installed. Switching to normal mode!");
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
2
pom.xml
2
pom.xml
@ -7,7 +7,7 @@
|
|||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<revision>2.4.13</revision>
|
<revision>2.4.13.1</revision>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user