diff options
author | ThatGravyBoat <ThatGravyBoat@users.noreply.github.com> | 2021-07-21 14:46:42 +0000 |
---|---|---|
committer | GitHub Action <actions@github.com> | 2021-07-21 14:46:42 +0000 |
commit | 39749967fc92a3976b231285492d71f8782e93da (patch) | |
tree | 1ceaac7ab0b4b5bbc1bf7a28ff16db085dd94c49 /src/main/java/com/thatgravyboat/skyblockhud/api | |
parent | 7db7137f5099d8f41be08689a54f704692574f4d (diff) | |
download | SkyblockHud-Death-Defied-39749967fc92a3976b231285492d71f8782e93da.tar.gz SkyblockHud-Death-Defied-39749967fc92a3976b231285492d71f8782e93da.tar.bz2 SkyblockHud-Death-Defied-39749967fc92a3976b231285492d71f8782e93da.zip |
Prettified Code!
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/api')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/api/LeaderboardGetter.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/api/LeaderboardGetter.java b/src/main/java/com/thatgravyboat/skyblockhud/api/LeaderboardGetter.java index 2a71c8b..2312910 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/api/LeaderboardGetter.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/api/LeaderboardGetter.java @@ -1,9 +1,13 @@ package com.thatgravyboat.skyblockhud.api; +import static com.thatgravyboat.skyblockhud.ComponentHandler.SCOREBOARD_CHARACTERS; + import com.thatgravyboat.skyblockhud.api.events.SidebarLineUpdateEvent; import com.thatgravyboat.skyblockhud.api.events.SidebarPostEvent; import com.thatgravyboat.skyblockhud.api.events.SidebarPreGetEvent; import com.thatgravyboat.skyblockhud.utils.Utils; +import java.util.*; +import java.util.stream.Collectors; import net.minecraft.client.Minecraft; import net.minecraft.scoreboard.Score; import net.minecraft.scoreboard.ScoreObjective; @@ -13,11 +17,6 @@ import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.gameevent.TickEvent; -import java.util.*; -import java.util.stream.Collectors; - -import static com.thatgravyboat.skyblockhud.ComponentHandler.SCOREBOARD_CHARACTERS; - public class LeaderboardGetter { private static Map<Integer, String> cachedScores = new HashMap<>(); |