From 41c1be42628766e23170030986ae767e536d61f3 Mon Sep 17 00:00:00 2001 From: Tim203 Date: Tue, 8 Jun 2021 08:17:12 +0200 Subject: [PATCH] Only listen for Geyser news --- .../main/java/org/geysermc/connector/utils/Constants.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/connector/src/main/java/org/geysermc/connector/utils/Constants.java b/connector/src/main/java/org/geysermc/connector/utils/Constants.java index a0cc9bf80..2a47a5bce 100644 --- a/connector/src/main/java/org/geysermc/connector/utils/Constants.java +++ b/connector/src/main/java/org/geysermc/connector/utils/Constants.java @@ -27,18 +27,14 @@ package org.geysermc.connector.utils; import java.net.URI; import java.net.URISyntaxException; -import java.util.Arrays; import java.util.Collections; -import java.util.HashSet; import java.util.Set; public final class Constants { public static final URI GLOBAL_API_WS_URI; public static final String NTP_SERVER = "time.cloudflare.com"; - public static final Set NEWS_PROJECT_LIST = Collections.unmodifiableSet( - new HashSet<>(Arrays.asList("geyser", "floodgate")) - ); + public static final Set NEWS_PROJECT_LIST = Collections.singleton("geyser"); public static final String NEWS_OVERVIEW_URL = "https://api.geysermc.org/v1/news";