diff options
author | ThatGravyBoat <ThatGravyBoat@users.noreply.github.com> | 2021-07-17 03:56:58 +0000 |
---|---|---|
committer | GitHub Action <actions@github.com> | 2021-07-17 03:56:58 +0000 |
commit | baf3b8aa15cbd2dc0fcb4a80707557c44ee30c16 (patch) | |
tree | ea5e7062f7f808cb918e354068bbf9a669ad14f7 /src/main/java/com/thatgravyboat/skyblockhud/location | |
parent | e364de18cbcbc9f334d890703812876789374bab (diff) | |
download | SkyblockHud-Death-Defied-baf3b8aa15cbd2dc0fcb4a80707557c44ee30c16.tar.gz SkyblockHud-Death-Defied-baf3b8aa15cbd2dc0fcb4a80707557c44ee30c16.tar.bz2 SkyblockHud-Death-Defied-baf3b8aa15cbd2dc0fcb4a80707557c44ee30c16.zip |
Prettified Code!
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/location')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java b/src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java index 65256ac..f54999c 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/location/LocationCategory.java @@ -1,10 +1,10 @@ package com.thatgravyboat.skyblockhud.location; +import static com.thatgravyboat.skyblockhud.handlers.MapHandler.Maps; + import com.thatgravyboat.skyblockhud.SkyblockHud; import com.thatgravyboat.skyblockhud.handlers.MapHandler; -import static com.thatgravyboat.skyblockhud.handlers.MapHandler.Maps; - public enum LocationCategory { ERROR("error", 34), ISLAND("island", 43), @@ -45,8 +45,7 @@ public enum LocationCategory { } public MapHandler.Maps getMap() { - if (this.map != null && SkyblockHud.config.map.mapLocations.contains(this.ordinal() - 2)) return this.map; - else return null; + if (this.map != null && SkyblockHud.config.map.mapLocations.contains(this.ordinal() - 2)) return this.map; else return null; } public boolean isMiningCategory() { |