Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor
2021-01-27 20:04:13 +00:00
18 changed files with 108 additions and 127 deletions

View File

@ -473,6 +473,7 @@ class PluginManager{
}
$handlerClosure = $method->getClosure($listener);
if($handlerClosure === null) throw new AssumptionFailedError("This should never happen");
try{
$priority = isset($tags["priority"]) ? EventPriority::fromString($tags["priority"]) : EventPriority::NORMAL;