From 9c759882a1a92593fae687d19106b4a348fc7a4b Mon Sep 17 00:00:00 2001 From: ThatGravyBoat Date: Thu, 15 Jul 2021 21:29:51 -0230 Subject: Added move command for waypoints and updated trackers thanks Jani --- src/main/java/com/thatgravyboat/skyblockhud/Utils.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/java/com/thatgravyboat/skyblockhud/Utils.java') 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; + } } -- cgit