Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperXingKong authored Mar 25, 2017
1 parent b3570f6 commit 75ad390
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/pocketmine/plugin/PluginManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
*
*/
Expand Down Expand Up @@ -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){
Expand Down

0 comments on commit 75ad390

Please sign in to comment.