mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
Merge remote-tracking branch 'origin/master' into mcpe-0.12
This commit is contained in:
commit
f5429ef585
@ -701,7 +701,7 @@ class PluginManager{
|
|||||||
}
|
}
|
||||||
|
|
||||||
$reflection = new \ReflectionClass(get_class($listener));
|
$reflection = new \ReflectionClass(get_class($listener));
|
||||||
foreach($reflection->getMethods() as $method){
|
foreach($reflection->getMethods(\ReflectionMethod::IS_PUBLIC) as $method){
|
||||||
if(!$method->isStatic()){
|
if(!$method->isStatic()){
|
||||||
$priority = EventPriority::NORMAL;
|
$priority = EventPriority::NORMAL;
|
||||||
$ignoreCancelled = false;
|
$ignoreCancelled = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user