diff options
author | olim <bobq4582@gmail.com> | 2024-05-28 17:04:50 +0100 |
---|---|---|
committer | olim <bobq4582@gmail.com> | 2024-05-28 19:57:20 +0100 |
commit | 362d317ad67635205e4bc087ce07dff71b4ddd43 (patch) | |
tree | e6f0542410dfd05b0865c45d843afe87e03f61bd /src/main/java/de/hysky/skyblocker/skyblock/searchoverlay/SearchOverManager.java | |
parent | cd7d1f8f8b7a57383e0eae01f6fe9653411dd8c8 (diff) | |
download | Skyblocker-362d317ad67635205e4bc087ce07dff71b4ddd43.tar.gz Skyblocker-362d317ad67635205e4bc087ce07dff71b4ddd43.tar.bz2 Skyblocker-362d317ad67635205e4bc087ce07dff71b4ddd43.zip |
add translation strings
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/skyblock/searchoverlay/SearchOverManager.java')
-rw-r--r-- | src/main/java/de/hysky/skyblocker/skyblock/searchoverlay/SearchOverManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/searchoverlay/SearchOverManager.java b/src/main/java/de/hysky/skyblocker/skyblock/searchoverlay/SearchOverManager.java index 54845d6d..7f2f17e1 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/searchoverlay/SearchOverManager.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/searchoverlay/SearchOverManager.java @@ -234,6 +234,7 @@ public class SearchOverManager { /** * determines if a value should be moved to the front of the search + * * @param name name of the suggested item * @return if the value should be at the front of the search queue */ @@ -243,7 +244,7 @@ public class SearchOverManager { } //do nothing to non pets if (!auctionPets.contains(name.toLowerCase())) { - return false; + return false; } //only front load pets when there is enough of the pet typed, so it does not spoil searching for other items return (double) search.length() / name.length() > 0.5; |