aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2023-02-05 22:37:21 +0000
committerGitHub <noreply@github.com>2023-02-05 22:37:21 +0000
commit6db1230b1a589f2a586c3842475902f65572d05d (patch)
treecf36255cd6f2ab083fa6cdd5b5c30687e932742e
parent157bb31d032279a8c3eb370b76ac5c9396821864 (diff)
downloadNotEnoughUpdates-6db1230b1a589f2a586c3842475902f65572d05d.tar.gz
NotEnoughUpdates-6db1230b1a589f2a586c3842475902f65572d05d.tar.bz2
NotEnoughUpdates-6db1230b1a589f2a586c3842475902f65572d05d.zip
so that means it has to be in 2 commitsfeat/customuseragent
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java b/src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java
index b5e7c587..f5f42cff 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java
@@ -62,7 +62,7 @@ public class ApiUtil {
private static final Gson gson = new Gson();
private static final ExecutorService executorService = Executors.newFixedThreadPool(3);
private static String getUserAgent() {
- if(NotEnoughUpdates.INSTANCE.config.hidden.customUserAgent != null) {
+ if (NotEnoughUpdates.INSTANCE.config.hidden.customUserAgent != null) {
return NotEnoughUpdates.INSTANCE.config.hidden.customUserAgent;
}
return "NotEnoughUpdates/" + NotEnoughUpdates.VERSION;