aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java
diff options
context:
space:
mode:
authorTymanWasTaken <tyman@tyman.tech>2021-07-06 17:24:20 -0400
committerTymanWasTaken <tyman@tyman.tech>2021-07-06 17:24:20 -0400
commit98ee5a2ae8090c061b1e61e7955d793416991822 (patch)
treee34bb84ed247f08f2931f10d1dfbf6c8b883004c /src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java
parentc04ca523f9fb9f7adefa74587db61f76deeae9f0 (diff)
downloadskyblockhud-98ee5a2ae8090c061b1e61e7955d793416991822.tar.gz
skyblockhud-98ee5a2ae8090c061b1e61e7955d793416991822.tar.bz2
skyblockhud-98ee5a2ae8090c061b1e61e7955d793416991822.zip
140?
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java b/src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java
index c989cb4..505db19 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java
@@ -31,9 +31,7 @@ public class EndIslandHandler {
public static dragonTypes findDragon(String input) {
if (input.contains(" ")) {
try {
- return dragonTypes.valueOf(
- input.toLowerCase().replace("dragon", "").replace(" ", "").toUpperCase()
- );
+ return dragonTypes.valueOf(input.toLowerCase().replace("dragon", "").replace(" ", "").toUpperCase());
} catch (IllegalArgumentException ignored) {
return NODRAGON;
}