@EventHandler(priority=EventPriority.MONITOR,ignoreCancelled=true) public void onPlayerDeath(PlayerDeathEvent event){
  Player player=event.getEntity();
  Match match=Cardinal.getMatch(player);
  List<Core> cores=getCores(match);
  if (match == null || !match.hasPlayer(player) || cores.size() == 0) {
    return;
  }
  cores.forEach(null);
}

@ EventHandler ( priority = EventPriority . MONITOR , ignoreCancelled = true ) public void onPlayerDeath ( PlayerDeathEvent event ) { Player player = event . getEntity ( ) ; Match match = Cardinal . getMatch ( player ) ; List < Core > cores = getCores ( match ) ; if ( match == null || ! match . hasPlayer ( player ) || cores . size ( ) == 0 ) { return ; } cores . forEach ( null ) ; }
removes the player from the list of players who have touched the core during their previous life .
