diff options
author | 2stinkysocks <54291521+2stinkysocks@users.noreply.github.com> | 2022-06-13 06:24:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-13 15:24:26 +0200 |
commit | 8ce504940211a3f6c7069c0b84c922687a1754bb (patch) | |
tree | 79a491ac5b6b46462c76e5c5e1521195c3fac739 /src/main/java | |
parent | b3af4c172b10ea6fa77b098f59734c3a1a9029a8 (diff) | |
download | NotEnoughUpdates-8ce504940211a3f6c7069c0b84c922687a1754bb.tar.gz NotEnoughUpdates-8ce504940211a3f6c7069c0b84c922687a1754bb.tar.bz2 NotEnoughUpdates-8ce504940211a3f6c7069c0b84c922687a1754bb.zip |
fix star selection (#167)
fix star selection (#167)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/overlays/AuctionSearchOverlay.java | 4 |
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; |