@EventHandler
    public void onBlockBreakEvent(BlockBreakEvent event) {
        if (!event.isCancelled()) {
            Player player = event.getPlayer();
            if (Cloning.contains(player)) {
                if (Cloning.isEnabled(player)) {
                    if (event.getBlock().getState().getData() instanceof Bed) {
                        Bed bed = (Bed) event.getBlock().getState().getData();
                        if(bed.isHeadOfBed()){
                            Cloning.delete(player,event.getBlock().getRelative(bed.getFacing().getOppositeFace()));
                            return;
                        }
                    }
                    Cloning.delete(player, event.getBlock());
                }
            }
        }
    }