Пример #1
0
 public function onDeath(PlayerDeathEvent $event)
 {
     if ($this->isEnabled() == true) {
         $event->setCancelled();
     }
 }