<?php

namespace Sandertv\BlockSniper\events;

use pocketmine\event\plugin\PluginEvent;
use Sandertv\BlockSniper\Loader;

abstract class BaseEvent extends PluginEvent {
	
	public function __construct(Loader $owner) {
		$this->owner = $owner;
	}
	
	public function getOwner() {
		return $this->owner;
	}
}

<?php

namespace Sandertv\BlockSniper\events;

use pocketmine\event\plugin\PluginEvent;

abstract class BaseEvent extends PluginEvent {
	
	public function __construct($owner) {
		$this->owner = $owner;
	}
	
	public function getOwner() {
		return $this->owner;
	}
}

Fix events with wrong constructor.
Fix events with wrong constructor.
