mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 10:49:10 +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));
|
||||
foreach($reflection->getMethods() as $method){
|
||||
foreach($reflection->getMethods(\ReflectionMethod::IS_PUBLIC) as $method){
|
||||
if(!$method->isStatic()){
|
||||
$priority = EventPriority::NORMAL;
|
||||
$ignoreCancelled = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user