aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorThatGravyBoat <ThatGravyBoat@users.noreply.github.com>2021-07-16 00:00:31 +0000
committerGitHub Action <actions@github.com>2021-07-16 00:00:31 +0000
commita411d15e4d65f4f2776a98edb743c68d294aa9d4 (patch)
tree613077e157e275fed209402ca1dfd021abdd2585 /src/main/java/com
parent9c759882a1a92593fae687d19106b4a348fc7a4b (diff)
downloadSkyblockHud-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.java2
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/handlers/CrystalWaypoints.java2
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) {