aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author2stinkysocks <54291521+2stinkysocks@users.noreply.github.com>2022-06-13 06:24:26 -0700
committerGitHub <noreply@github.com>2022-06-13 15:24:26 +0200
commit8ce504940211a3f6c7069c0b84c922687a1754bb (patch)
tree79a491ac5b6b46462c76e5c5e1521195c3fac739 /src
parentb3af4c172b10ea6fa77b098f59734c3a1a9029a8 (diff)
downloadNotEnoughUpdates-8ce504940211a3f6c7069c0b84c922687a1754bb.tar.gz
NotEnoughUpdates-8ce504940211a3f6c7069c0b84c922687a1754bb.tar.bz2
NotEnoughUpdates-8ce504940211a3f6c7069c0b84c922687a1754bb.zip
fix star selection (#167)
fix star selection (#167)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/AuctionSearchOverlay.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/overlays/AuctionSearchOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/overlays/AuctionSearchOverlay.java
index aee47db2..e0e2c2d3 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/AuctionSearchOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/AuctionSearchOverlay.java
@@ -326,7 +326,7 @@ public class AuctionSearchOverlay {
StringBuilder stringBuilder = new StringBuilder(searchString.trim());
if (!searchStringExtra.isEmpty()) {
- stringBuilder.append(searchStringExtra.trim());
+ stringBuilder.append(searchStringExtra);
}
if (onlyLevel100) {
stringBuilder.insert(0, "[Lvl 100] ");
@@ -631,7 +631,7 @@ public class AuctionSearchOverlay {
}
JsonObject essenceCosts = Constants.ESSENCECOSTS;
- searchStringExtra = "";
+ searchStringExtra = " ";
if (essenceCosts != null && essenceCosts.has(str) && selectedStars > 0) {
for (int i = 0; i < selectedStars; i++) {
if (i > 4) break;