Advertisement
maxthelinkfan

Untitled

Oct 5th, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.56 KB | None | 0 0
  1. if(e.getDamager().getType().equals(EntityType.PLAYER)){
  2.             if(e.getCause().equals(EntityType.PLAYER)){
  3.             if(p.getItemInHand().getType().equals(Material.BLAZE_ROD)){
  4.                 if(p.getItemInHand().getItemMeta().getDisplayName().equals(ChatColor.RED + "Elite Match")){
  5.                     pvp.add(p.getName());
  6.                     p.sendMessage(ChatColor.RED + "You have challenged " + ChatColor.GREEN + t.getName() + ChatColor.RED +" to an elite match!");
  7.                     t.sendMessage(ChatColor.RED + "You have been challenged to an " + ChatColor.GOLD + "Elite Match" + ChatColor.GOLD + "by " + p.getName());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement