Skip to content
This repository was archived by the owner on Oct 21, 2018. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/LDX/iProtector/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use pocketmine\event\Listener;
use pocketmine\Player;
use pocketmine\plugin\PluginBase;
use pocketmine\event\entity\EntityExplodeEvent;
use pocketmine\Server;
use pocketmine\utils\TextFormat as Color;
use pocketmine\event\entity\EntityDamageEvent;
Expand Down Expand Up @@ -66,6 +67,15 @@ public function onCommand(CommandSender $p,Command $cmd,$label,array $args) {
*/
public function onHurt(EntityDamageEvent $event) {

}
/**
* @param EntityExplodeEvent $event
*
* @priority HIGHEST
* @ignoreCancelled false
*/
public function onExplode(EntityExplodeEvent $event) {

}
public function onDisable() {
foreach($this->areas as $area) {
Expand Down