PluginManager: Fix patch level check to allow loading the plugin when the server's minor level is higher than the plugins declared minor level.

This commit is contained in:
95CivicSi 2018-07-27 11:45:23 +01:00 committed by Dylan K. Taylor
parent 1b053c7928
commit 4a1ed21e52

View File

@ -413,7 +413,7 @@ class PluginManager{
continue;
}
if($pluginNumbers[2] > $serverNumbers[2]){ //If the plugin requires bug fixes in patches, being backwards compatible
if($pluginNumbers[1] === $serverNumbers[1] and $pluginNumbers[2] > $serverNumbers[2]){ //If the plugin requires bug fixes in patches, being backwards compatible
continue;
}
}