diff --git a/src/pocketmine/plugin/PluginManager.php b/src/pocketmine/plugin/PluginManager.php index fc0c74c22..063b8bd5a 100644 --- a/src/pocketmine/plugin/PluginManager.php +++ b/src/pocketmine/plugin/PluginManager.php @@ -8,13 +8,22 @@ * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_| * + * _____ _ _____ + * / ____| (_) | __ \ + *| | __ ___ _ __ _ ___ _ _ ___| |__) | __ ___ + *| | |_ |/ _ \ '_ \| / __| | | / __| ___/ '__/ _ \ + *| |__| | __/ | | | \__ \ |_| \__ \ | | | | (_) | + * \_____|\___|_| |_|_|___/\__, |___/_| |_| \___/ + * __/ | + * |___/ + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * @author PocketMine Team - * @link http://www.pocketmine.net/ + * @author Rex-Tech + * @link https://github.com/Rex-Tech/GenisysPro * * */ @@ -267,8 +276,7 @@ public function loadPlugins($directory, $newLoaders = null){ } if($compatible === false){ - $this->server->getLogger()->error($this->server->getLanguage()->translateString("pocketmine.plugin.loadError", [$name, "%pocketmine.plugin.incompatibleAPI"])); - continue; + $this->server->getLogger()->notice("插件{$name}的API与服务器不符,但GenisysPro仍然加载了它"); } if($compatiblegeniapi === false){