diff options
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java b/src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java index 51ea9d8..c989cb4 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/location/EndIslandHandler.java @@ -32,11 +32,7 @@ public class EndIslandHandler { if (input.contains(" ")) { try { return dragonTypes.valueOf( - input - .toLowerCase() - .replace("dragon", "") - .replace(" ", "") - .toUpperCase() + input.toLowerCase().replace("dragon", "").replace(" ", "").toUpperCase() ); } catch (IllegalArgumentException ignored) { return NODRAGON; |