From ef58e92c169ac94370c8a6dd48146587571cf8d2 Mon Sep 17 00:00:00 2001 From: Lorenz Date: Tue, 23 Aug 2022 22:34:07 +0200 Subject: added rng meter coloring methods --- .../at/hannibal2/skyhanni/features/anvil/AnvilCombineHelper.kt | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/anvil') diff --git a/src/main/java/at/hannibal2/skyhanni/features/anvil/AnvilCombineHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/anvil/AnvilCombineHelper.kt index 251c4e7a6..b2d397714 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/anvil/AnvilCombineHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/anvil/AnvilCombineHelper.kt @@ -7,10 +7,8 @@ import at.hannibal2.skyhanni.utils.LorenzColor import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.RenderUtils.highlight import net.minecraft.client.gui.inventory.GuiChest -import net.minecraft.client.renderer.GlStateManager import net.minecraft.inventory.ContainerChest import net.minecraftforge.fml.common.eventhandler.SubscribeEvent -import org.lwjgl.opengl.GL11 class AnvilCombineHelper { @@ -46,10 +44,6 @@ class AnvilCombineHelper { } } - val lightingState = GL11.glIsEnabled(GL11.GL_LIGHTING) - GlStateManager.disableLighting() - GlStateManager.color(1f, 1f, 1f, 1f) - if (matchLore.isEmpty()) return for (slot in chest.inventorySlots) { @@ -75,8 +69,6 @@ class AnvilCombineHelper { //// slot highlight LorenzColor.YELLOW //// } // } - - if (lightingState) GlStateManager.enableLighting() } } } \ No newline at end of file -- cgit