Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @EventHandler
- public void onPlayerBreak(BlockBreakEvent event){
- Player capturer = event.getPlayer();
- Arena arena = Arenas.getArena(capturer);
- if(event.getBlock().getType() == Material.EMERALD_BLOCK){
- arena.sendAll("");
- arena.sendAll("");
- arena.sendAll("");
- arena.sendAll("");
- arena.sendAll("");
- arena.sendAll(ChatColor.GREEN +"================" + ChatColor.GRAY + "[" + ChatColor.DARK_GREEN + "SUPER" + ChatColor.GRAY + "]" +ChatColor.GREEN + "================");
- arena.sendAll("");
- arena.sendAll("");
- arena.sendAll(ChatColor.DARK_GREEN + capturer.getName() + ChatColor.GRAY + " a gagné(e) dans l'arène > " + ChatColor.DARK_GREEN + arena.getName());
- arena.sendAll("");
- arena.sendAll("");
- arena.sendAll(ChatColor.GREEN +"================" + ChatColor.GRAY + "[" + ChatColor.DARK_GREEN + "SUPER" + ChatColor.GRAY + "]" +ChatColor.GREEN + "================");
- arena.sendAll("");
- arena.sendAll("");
- arena.sendAll("");
- arena.sendAll("");
- arena.sendAll("");
- arena.stop();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment