Remove RandomUserAgent

This commit is contained in:
huangyuhui
2018-08-25 19:39:00 +08:00
parent 73f147b7e2
commit a4578405cf
2 changed files with 1 additions and 1668 deletions

View File

@@ -37,7 +37,7 @@ public final class NetworkUtils {
private NetworkUtils() {
}
private static Supplier<String> userAgentSupplier = RandomUserAgent::randomUserAgent;
private static Supplier<String> userAgentSupplier = () -> "HMCLCore";
public static String getUserAgent() {
return userAgentSupplier.get();