diff options
author | ThatGravyBoat <ThatGravyBoat@users.noreply.github.com> | 2021-07-16 00:00:31 +0000 |
---|---|---|
committer | GitHub Action <actions@github.com> | 2021-07-16 00:00:31 +0000 |
commit | a411d15e4d65f4f2776a98edb743c68d294aa9d4 (patch) | |
tree | 613077e157e275fed209402ca1dfd021abdd2585 | |
parent | 9c759882a1a92593fae687d19106b4a348fc7a4b (diff) | |
download | SkyblockHud-Death-Defied-a411d15e4d65f4f2776a98edb743c68d294aa9d4.tar.gz SkyblockHud-Death-Defied-a411d15e4d65f4f2776a98edb743c68d294aa9d4.tar.bz2 SkyblockHud-Death-Defied-a411d15e4d65f4f2776a98edb743c68d294aa9d4.zip |
Prettified Code!
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/Utils.java b/src/main/java/com/thatgravyboat/skyblockhud/Utils.java index b190673..be28acc 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/Utils.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/Utils.java @@ -364,7 +364,7 @@ public class Utils { return number > numberToFormatAt - 1 ? formatter.format((double) number / 1000) + "k" : String.valueOf(number); } - public static boolean equalsIgnoreCaseAnyOf(String string, String... strings){ + public static boolean equalsIgnoreCaseAnyOf(String string, String... strings) { for (String o : strings) if (string.equalsIgnoreCase(o)) return true; return false; } diff --git a/src/main/java/com/thatgravyboat/skyblockhud/handlers/CrystalWaypoints.java b/src/main/java/com/thatgravyboat/skyblockhud/handlers/CrystalWaypoints.java index 1e63a0b..54986e0 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/handlers/CrystalWaypoints.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/handlers/CrystalWaypoints.java @@ -136,7 +136,7 @@ public class CrystalWaypoints { new TabCompleteRunnable() { @Override public List<String> tabComplete(ICommandSender sender, String[] args, BlockPos pos) { - if (args.length == 2 && Utils.equalsIgnoreCaseAnyOf (args[0], "remove","copy", "move")) { + if (args.length == 2 && Utils.equalsIgnoreCaseAnyOf(args[0], "remove", "copy", "move")) { return getListOfStringsMatchingLastWord(args, waypoints.keySet()); } if (args.length == 1) { diff --git a/src/main/resources/assets/skyblockhud/data/trackers.json b/src/main/resources/assets/skyblockhud/data/trackers.json index 042f35d..cb95d0c 100644 --- a/src/main/resources/assets/skyblockhud/data/trackers.json +++ b/src/main/resources/assets/skyblockhud/data/trackers.json @@ -678,4 +678,4 @@ ] } ] -}
\ No newline at end of file +} |