From 8ce504940211a3f6c7069c0b84c922687a1754bb Mon Sep 17 00:00:00 2001 From: 2stinkysocks <54291521+2stinkysocks@users.noreply.github.com> Date: Mon, 13 Jun 2022 06:24:26 -0700 Subject: fix star selection (#167) fix star selection (#167) --- .../moulberry/notenoughupdates/overlays/AuctionSearchOverlay.java | 4 ++-- 1 file 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; -- cgit