diff options
author | Lorenz <ESs95s3P5z8Pheb> | 2022-07-08 12:29:56 +0200 |
---|---|---|
committer | Lorenz <ESs95s3P5z8Pheb> | 2022-07-08 12:29:56 +0200 |
commit | 7a17d4a288b572687eccef42286e03c12cdb7a12 (patch) | |
tree | 8fba1ae9c8860b1b3ece7a550a23cf7cf7dee764 /src/main/java/at/lorenz/mod/HideNotClickableItems.kt | |
parent | c167f4e84e22da7b7c4405b5d59c817734654fc0 (diff) | |
download | skyhanni-7a17d4a288b572687eccef42286e03c12cdb7a12.tar.gz skyhanni-7a17d4a288b572687eccef42286e03c12cdb7a12.tar.bz2 skyhanni-7a17d4a288b572687eccef42286e03c12cdb7a12.zip |
first elements in new gui
Diffstat (limited to 'src/main/java/at/lorenz/mod/HideNotClickableItems.kt')
-rw-r--r-- | src/main/java/at/lorenz/mod/HideNotClickableItems.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/lorenz/mod/HideNotClickableItems.kt b/src/main/java/at/lorenz/mod/HideNotClickableItems.kt index e58dbd92c..8c9e28d83 100644 --- a/src/main/java/at/lorenz/mod/HideNotClickableItems.kt +++ b/src/main/java/at/lorenz/mod/HideNotClickableItems.kt @@ -10,6 +10,8 @@ import at.lorenz.mod.utils.LorenzColor import at.lorenz.mod.utils.LorenzUtils import at.lorenz.mod.utils.LorenzUtils.removeColorCodes import at.lorenz.mod.utils.RenderUtils.highlight +import com.thatgravyboat.skyblockhud.SkyblockHud +import com.thatgravyboat.skyblockhud.config.SBHConfig import net.minecraft.client.Minecraft import net.minecraft.client.gui.inventory.GuiChest import net.minecraft.client.renderer.GlStateManager @@ -135,7 +137,7 @@ class HideNotClickableItems { private fun isDisabled(): Boolean { if (bypassUntil > System.currentTimeMillis()) return true - return !LorenzConfig.hideNotClickableItems + return !SkyblockHud.feature.inventory.hideNotClickableItems } private fun hide(chestName: String, stack: ItemStack): Boolean { |