aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2022-08-11 11:05:08 +0000
committerGitHub <noreply@github.com>2022-08-11 21:05:08 +1000
commite7a8f04a0faa0d97cedd052389a2655d4814e18d (patch)
tree800276f9dbb971396604f824963a7911db6f2f86 /src/main/java/io
parentfde462b796ed7fbb22fdf7cf04c032389f3e8629 (diff)
downloadNotEnoughUpdates-e7a8f04a0faa0d97cedd052389a2655d4814e18d.tar.gz
NotEnoughUpdates-e7a8f04a0faa0d97cedd052389a2655d4814e18d.tar.bz2
NotEnoughUpdates-e7a8f04a0faa0d97cedd052389a2655d4814e18d.zip
add an faq (#217)
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/auction/APIManager.java1
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/commands/misc/CalculatorCommand.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/auction/APIManager.java b/src/main/java/io/github/moulberry/notenoughupdates/auction/APIManager.java
index 29b5f4a5..3fc34d10 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/auction/APIManager.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/auction/APIManager.java
@@ -409,6 +409,7 @@ public class APIManager {
int page = pagesToDownload.pop();
getPageFromAPI(page);
} catch (NoSuchElementException ignored) {
+ return;
} //Weird race condition?
}
}
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/CalculatorCommand.java b/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/CalculatorCommand.java
index 916ce072..2ba93585 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/CalculatorCommand.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/commands/misc/CalculatorCommand.java
@@ -50,7 +50,7 @@ public class CalculatorCommand extends ClientCommandBase {
"§eFor Example §b/neucalc 3m*7k§e.\n" +
"§eYou can also use suffixes (k, m, b, t, s)§e.\n" +
"§eThe \"s\" suffix acts as 64.\n" +
- "§eTurn on Sign Calculator in /neu misc to also support this in sign popups.\n"));
+ "§eTurn on Sign Calculator in /neu misc to also support this in sign popups and the neu search bar.\n"));
return;
}
String source = String.join(" ", args);