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/HighlightCommissions.java | |
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/HighlightCommissions.java')
-rw-r--r-- | src/main/java/me/Danker/features/HighlightCommissions.java | 7 |
1 files changed, 3 insertions, 4 deletions
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; } } |