@Override
    public void run() {
        Player player = Bukkit.getPlayer(playerName);
        if (player == null) {
            return;
        }

        player.setSleepingIgnored(false);

        BukkitTask task = plugin.getIgnoreSleepTasks().get(playerName);
        if (task != null) {
            task.cancel();
        }
        task = new IgnoreSleepTask(plugin, playerName).runTaskLater(plugin, plugin.getIgnoreSleepTaskDelay());
        plugin.getIgnoreSleepTasks().put(playerName, task);
    }