SHARE
TWEET

Untitled

a guest Jul 24th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(e.getEntity().getPlayer().getLastDamageCause().getCause() == EntityDamageEvent.DamageCause.VOID){
  2.             if(e.getEntity().getLastDamageCause() instanceof Player) {
  3.                 Bukkit.broadcastMessage(Main.Prefix + "§6" + p.getName() + " §7was killed by§6 " + killer.getName() + " §7.");
  4.             } else {
  5.                 Bukkit.broadcastMessage(Main.Prefix + "§6" + p.getName() + " §7was killed by§6 void §7.");
  6.             }
  7.         }
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top