mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
v1.5.0 added /extractplugin
This commit is contained in:
@@ -197,6 +197,7 @@ class PluginManager{
|
|||||||
}elseif(strpos($name, " ") !== false){
|
}elseif(strpos($name, " ") !== false){
|
||||||
console("[WARNING] Plugin '" . $name . "' uses spaces in its name, this is discouraged");
|
console("[WARNING] Plugin '" . $name . "' uses spaces in its name, this is discouraged");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($plugins[$name]) or $this->getPlugin($name) instanceof Plugin){
|
if(isset($plugins[$name]) or $this->getPlugin($name) instanceof Plugin){
|
||||||
console("[ERROR] Could not load duplicate plugin '" . $name . "': plugin exists");
|
console("[ERROR] Could not load duplicate plugin '" . $name . "': plugin exists");
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user