mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +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){
|
||||
console("[WARNING] Plugin '" . $name . "' uses spaces in its name, this is discouraged");
|
||||
}
|
||||
|
||||
if(isset($plugins[$name]) or $this->getPlugin($name) instanceof Plugin){
|
||||
console("[ERROR] Could not load duplicate plugin '" . $name . "': plugin exists");
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user