Merge remote-tracking branch 'origin/master' into mcpe-0.12

This commit is contained in:
Shoghi Cervantes 2015-08-08 16:50:37 +02:00
commit f5429ef585

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;