From ab2fb24fe5a34d659f63cb5d6a5c776aa347eb75 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Fri, 13 Jun 2014 20:15:53 +0200 Subject: [PATCH] Fixed PluginEvent --- src/pocketmine/event/plugin/PluginEvent.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pocketmine/event/plugin/PluginEvent.php b/src/pocketmine/event/plugin/PluginEvent.php index 066d4f8e6..ec8b18e37 100644 --- a/src/pocketmine/event/plugin/PluginEvent.php +++ b/src/pocketmine/event/plugin/PluginEvent.php @@ -33,6 +33,10 @@ abstract class PluginEvent extends Event{ /** @var Plugin */ private $plugin; + public function __construct(Plugin $plugin){ + $this->plugin = $plugin; + } + /** * @return Plugin */