aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-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;