mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-02 00:02:57 +00:00
v1.5.0 added /extractplugin
This commit is contained in:
parent
61192b172b
commit
2ab1997f21
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user