public static boolean useBed(Player player) {
        if (FearTheReaper.isBedsEnabled()) {
            if ((hasBed(player)) && (player.hasPermission("graveyard.respawn.bed"))) {
                return true;
            }
        }
        return false;
    }