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();
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user