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 /src/main/java/com | |
parent | 9c759882a1a92593fae687d19106b4a348fc7a4b (diff) | |
download | SkyblockHud-Death-Defied-a411d15e4d65f4f2776a98edb743c68d294aa9d4.tar.gz SkyblockHud-Death-Defied-a411d15e4d65f4f2776a98edb743c68d294aa9d4.tar.bz2 SkyblockHud-Death-Defied-a411d15e4d65f4f2776a98edb743c68d294aa9d4.zip |
Prettified Code!
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/Utils.java | 2 | ||||
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/handlers/CrystalWaypoints.java | 2 |
2 files changed, 2 insertions, 2 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) { |