diff options
author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2023-02-05 22:37:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-05 22:37:21 +0000 |
commit | 6db1230b1a589f2a586c3842475902f65572d05d (patch) | |
tree | cf36255cd6f2ab083fa6cdd5b5c30687e932742e | |
parent | 157bb31d032279a8c3eb370b76ac5c9396821864 (diff) | |
download | NotEnoughUpdates-feat/customuseragent.tar.gz NotEnoughUpdates-feat/customuseragent.tar.bz2 NotEnoughUpdates-feat/customuseragent.zip |
so that means it has to be in 2 commitsfeat/customuseragent
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/util/ApiUtil.java | 2 |
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; |