mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Fixed T_DOUBLE_COLON
This commit is contained in:
@ -676,8 +676,8 @@ class PluginManager{
|
||||
$ignoreCancelled = false;
|
||||
if(preg_match("/^[\t ]*\\* @priority[\t ]{1,}([a-zA-Z]{1,})$/m", (string) $method->getDocComment(), $matches) > 0){
|
||||
$matches[1] = strtoupper($matches[1]);
|
||||
if(defined(EventPriority::class . T_DOUBLE_COLON . $matches[1])){
|
||||
$priority = constant(EventPriority::class . T_DOUBLE_COLON . $matches[1]);
|
||||
if(defined(EventPriority::class . "::" . $matches[1])){
|
||||
$priority = constant(EventPriority::class . "::" . $matches[1]);
|
||||
}
|
||||
}
|
||||
if(preg_match("/^[\t ]*\\* @ignoreCancelled[\t ]{1,}([a-zA-Z]{1,})$/m", (string) $method->getDocComment(), $matches) > 0){
|
||||
|
Reference in New Issue
Block a user