diff options
author | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-07-08 10:25:54 -0230 |
---|---|---|
committer | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-07-08 10:25:54 -0230 |
commit | b416301ae23c4c1d0f528b30e0ed28a3bfe4aabb (patch) | |
tree | 750d985207b6d8763dd412133ceab65c3de582e4 /src/main/java/com/thatgravyboat/skyblockhud/api | |
parent | ee89945ffeab899c2d1c1b37fbff87af0612e452 (diff) | |
parent | 67a96efa9fd6c9433ab5d94f468c07ce7e26896b (diff) | |
download | SkyblockHud-Death-Defied-b416301ae23c4c1d0f528b30e0ed28a3bfe4aabb.tar.gz SkyblockHud-Death-Defied-b416301ae23c4c1d0f528b30e0ed28a3bfe4aabb.tar.bz2 SkyblockHud-Death-Defied-b416301ae23c4c1d0f528b30e0ed28a3bfe4aabb.zip |
Merge branch 'master' of https://github.com/ThatGravyboat/SkyblockHud
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 41a4ad8..8c71f57 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.Utils; import com.thatgravyboat.skyblockhud.api.events.SidebarLineUpdateEvent; import com.thatgravyboat.skyblockhud.api.events.SidebarPostEvent; import com.thatgravyboat.skyblockhud.api.events.SidebarPreGetEvent; +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<>(); |