Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(e.getDamager().getType().equals(EntityType.PLAYER)){
- if(e.getCause().equals(EntityType.PLAYER)){
- if(p.getItemInHand().getType().equals(Material.BLAZE_ROD)){
- if(p.getItemInHand().getItemMeta().getDisplayName().equals(ChatColor.RED + "Elite Match")){
- pvp.add(p.getName());
- p.sendMessage(ChatColor.RED + "You have challenged " + ChatColor.GREEN + t.getName() + ChatColor.RED +" to an elite match!");
- 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