Skip to content

Commit

Permalink
Only listen for Geyser news
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim203 committed Jun 8, 2021
1 parent 4d3392c commit 41c1be4
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,14 @@

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<String> NEWS_PROJECT_LIST = Collections.unmodifiableSet(
new HashSet<>(Arrays.asList("geyser", "floodgate"))
);
public static final Set<String> NEWS_PROJECT_LIST = Collections.singleton("geyser");

public static final String NEWS_OVERVIEW_URL = "https://api.geysermc.org/v1/news";

Expand Down

0 comments on commit 41c1be4

Please sign in to comment.