Merge pull request #3331 from PEMapModder/patch-5

Fixes #3330
This commit is contained in:
Michael Yoo 2015-08-09 00:12:35 +09:30
commit d729961bde

View File

@ -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;