Skip to content

Commit

Permalink
fix death event (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodEko authored and mcmonkey4eva committed Jun 14, 2018
1 parent a0ee601 commit 4980f51
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -243,11 +243,11 @@ public void onEntityDeath(EntityDeathEvent event) {
damager = damageEntity.getDenizenObject();
}
}
else if (livingEntity.getKiller() != null) {
damager = new dPlayer(livingEntity.getKiller());
}

}
else if (livingEntity.getKiller() != null) {
damager = new dPlayer(livingEntity.getKiller());
}

message = null;
inventory = null;
Expand Down

0 comments on commit 4980f51

Please sign in to comment.