class BlockListener implements Listener {

    @EventHandler(ignoreCancelled = true)
    public void onBlockPlace(BlockPlaceEvent event) {
        if (listenerService.shouldCancelEvent(event.getPlayer())) {
            event.setCancelled(true);
        }
    }

}