Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
v4.0 to irritate stupid @thedeibo Close #15 and Close #16
  • Loading branch information
Infernus101 authored Oct 21, 2017
1 parent 677e17d commit 95decff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Infernus101/PlayerEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ public function onBreak(BlockBreakEvent $ev){
}

public function onDeath(PlayerDeathEvent $ev){
if($ev->isCancelled()){
return;
}
if(($this->pl->config->get("pvp-record") == 1) or ($this->pl->config->get("kdr") == 1)){
$cause = $event->getEntity()->getLastDamageCause();
if($cause instanceof EntityDamageByEntityEvent) {
Expand Down

0 comments on commit 95decff

Please sign in to comment.