diff options
author | bowser0000 <bowser0000@gmail.com> | 2022-08-09 20:41:57 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2022-08-09 20:41:57 -0400 |
commit | e26599e44252d0e16d8399d0b190ccae6e054352 (patch) | |
tree | cb79b1bdb60f7979a59d55ede4d4aba3c782daca /src/main/java/me/Danker/features | |
parent | 0345c0ce9594d76a9ac1601bd039b1b64a6a38dc (diff) | |
download | SkyblockMod-e26599e44252d0e16d8399d0b190ccae6e054352.tar.gz SkyblockMod-e26599e44252d0e16d8399d0b190ccae6e054352.tar.bz2 SkyblockMod-e26599e44252d0e16d8399d0b190ccae6e054352.zip |
PR Fixes
Diffstat (limited to 'src/main/java/me/Danker/features')
-rw-r--r-- | src/main/java/me/Danker/features/CustomMusic.java | 1 | ||||
-rw-r--r-- | src/main/java/me/Danker/features/HighlightCommissions.java | 7 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/me/Danker/features/CustomMusic.java b/src/main/java/me/Danker/features/CustomMusic.java index 38e4ba0..01279fd 100644 --- a/src/main/java/me/Danker/features/CustomMusic.java +++ b/src/main/java/me/Danker/features/CustomMusic.java @@ -2,7 +2,6 @@ package me.Danker.features; import me.Danker.DankersSkyblockMod; import me.Danker.commands.ToggleCommand; -import me.Danker.events.ModInitEvent; import me.Danker.events.PostConfigInitEvent; import me.Danker.handlers.ScoreboardHandler; import me.Danker.utils.Utils; diff --git a/src/main/java/me/Danker/features/HighlightCommissions.java b/src/main/java/me/Danker/features/HighlightCommissions.java index f59951a..3bf1cb2 100644 --- a/src/main/java/me/Danker/features/HighlightCommissions.java +++ b/src/main/java/me/Danker/features/HighlightCommissions.java @@ -2,13 +2,12 @@ package me.Danker.features; import me.Danker.commands.ToggleCommand; import me.Danker.events.GuiChestBackgroundDrawnEvent; -import me.Danker.handlers.ConfigHandler; +import me.Danker.utils.RenderUtils; import me.Danker.utils.Utils; import net.minecraft.inventory.Slot; -import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraft.item.ItemWritableBook; +import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; -import org.lwjgl.util.Color; import java.util.List; public class HighlightCommissions { @@ -27,7 +26,7 @@ public class HighlightCommissions { if (slot.getStack().getItem() instanceof ItemWritableBook) { for (String line : Utils.getItemLore(slot.getStack())) { if (line.contains("COMPLETED")) { - Utils.drawOnSlot(event.chestSize, slot.xDisplayPosition, slot.yDisplayPosition, HIGHLIGHT_COLOUR + 0xD7000000); + RenderUtils.drawOnSlot(event.chestSize, slot.xDisplayPosition, slot.yDisplayPosition, HIGHLIGHT_COLOUR + 0xD7000000); break; } } |