mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Merge branch 'minor-next' into major-next
This commit is contained in:
@ -655,7 +655,7 @@ class PluginManager{
|
||||
}
|
||||
|
||||
$prefix = $plugin->getDescription()->getSrcNamespacePrefix();
|
||||
if(str_starts_with($handlerName, $prefix)){
|
||||
if(str_starts_with($handlerName, $prefix) && $prefix !== ""){
|
||||
$handlerName = substr($handlerName, strlen($prefix) + 1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user