diff options
author | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-07-15 21:29:51 -0230 |
---|---|---|
committer | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-07-15 21:29:51 -0230 |
commit | 9c759882a1a92593fae687d19106b4a348fc7a4b (patch) | |
tree | b29343929ef2fb617a47ba07d2c0e1160f820741 /src/main/java/com/thatgravyboat/skyblockhud/Utils.java | |
parent | c63a02e77465296e9b6b099ff61451ee67c8c850 (diff) | |
download | SkyblockHud-Death-Defied-9c759882a1a92593fae687d19106b4a348fc7a4b.tar.gz SkyblockHud-Death-Defied-9c759882a1a92593fae687d19106b4a348fc7a4b.tar.bz2 SkyblockHud-Death-Defied-9c759882a1a92593fae687d19106b4a348fc7a4b.zip |
Added move command for waypoints and updated trackers thanks Jani
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/Utils.java')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/Utils.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/Utils.java b/src/main/java/com/thatgravyboat/skyblockhud/Utils.java index f65af86..b190673 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/Utils.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/Utils.java @@ -363,4 +363,9 @@ public class Utils { formatter.setRoundingMode(RoundingMode.FLOOR); return number > numberToFormatAt - 1 ? formatter.format((double) number / 1000) + "k" : String.valueOf(number); } + + public static boolean equalsIgnoreCaseAnyOf(String string, String... strings){ + for (String o : strings) if (string.equalsIgnoreCase(o)) return true; + return false; + } } |