diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-04-18 17:49:02 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2021-04-18 17:49:02 -0400 |
commit | 6c870810d6798bd9e445f2586455311d1a817976 (patch) | |
tree | d0bfa76f4f54417094aee6305e12203773a5e7e5 /src/main/java/me/Danker/features/puzzlesolvers | |
parent | 5360b5ceb83feab156f1e70460b842ba7721544b (diff) | |
download | SkyblockMod-6c870810d6798bd9e445f2586455311d1a817976.tar.gz SkyblockMod-6c870810d6798bd9e445f2586455311d1a817976.tar.bz2 SkyblockMod-6c870810d6798bd9e445f2586455311d1a817976.zip |
Add highlighting Skeleton Masters
Diffstat (limited to 'src/main/java/me/Danker/features/puzzlesolvers')
-rw-r--r-- | src/main/java/me/Danker/features/puzzlesolvers/LividSolver.java | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/main/java/me/Danker/features/puzzlesolvers/LividSolver.java b/src/main/java/me/Danker/features/puzzlesolvers/LividSolver.java index b537198..6f02982 100644 --- a/src/main/java/me/Danker/features/puzzlesolvers/LividSolver.java +++ b/src/main/java/me/Danker/features/puzzlesolvers/LividSolver.java @@ -5,7 +5,6 @@ import me.Danker.commands.MoveCommand; import me.Danker.commands.ScaleCommand; import me.Danker.commands.ToggleCommand; import me.Danker.events.RenderOverlay; -import me.Danker.handlers.ScoreboardHandler; import me.Danker.handlers.TextRenderer; import me.Danker.utils.Utils; import net.minecraft.client.Minecraft; @@ -39,18 +38,7 @@ public class LividSolver { World world = Minecraft.getMinecraft().theWorld; if (DankersSkyblockMod.tickAmount % 20 == 0) { if (ToggleCommand.lividSolverToggled && Utils.inDungeons && !foundLivid && world != null) { - boolean inF5 = false; - - List<String> scoreboard = ScoreboardHandler.getSidebarLines(); - for (String s : scoreboard) { - String sCleaned = ScoreboardHandler.cleanSB(s); - if (sCleaned.contains("The Catacombs (F5)")) { - inF5 = true; - break; - } - } - - if (inF5) { + if (Utils.isInScoreboard("The Catacombs (F5)")) { List<Entity> loadedLivids = new ArrayList<>(); List<Entity> entities = world.getLoadedEntityList(); for (Entity entity : entities) { |