mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
thanks for being useless PhpStorm
This commit is contained in:
parent
34b8557094
commit
63fc04b3dd
@ -24,8 +24,8 @@ declare(strict_types=1);
|
||||
namespace pocketmine\event;
|
||||
|
||||
use pocketmine\plugin\Plugin;
|
||||
use pocketmine\plugin\PluginManager;
|
||||
use pocketmine\plugin\RegisteredListener;
|
||||
use pocketmine\utils\Utils;
|
||||
|
||||
class HandlerList{
|
||||
/**
|
||||
@ -69,7 +69,7 @@ class HandlerList{
|
||||
}
|
||||
|
||||
$class = new \ReflectionClass($event);
|
||||
$tags = PluginManager::parseDocComment((string) $class->getDocComment());
|
||||
$tags = Utils::parseDocComment((string) $class->getDocComment());
|
||||
|
||||
if($class->isAbstract() && !isset($tags["allowHandle"])){
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user