Skip to content

Commit

Permalink
fix highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
slprime committed Sep 7, 2024
1 parent be9414b commit 46b4319
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.github.vfyjxf.nee.nei;

import static codechicken.lib.gui.GuiDraw.drawRect;

import java.util.Map;

import net.minecraft.client.gui.inventory.GuiContainer;
Expand All @@ -13,6 +11,7 @@
import com.github.vfyjxf.nee.config.NEEConfig;
import com.github.vfyjxf.nee.utils.Ingredient;

import codechicken.lib.gui.GuiDraw;
import codechicken.nei.Image;
import codechicken.nei.LayoutManager;
import codechicken.nei.NEIClientConfig;
Expand Down Expand Up @@ -73,7 +72,7 @@ public void draw(ItemOverlayFormat format) {
GL11.glPushAttrib(GL11.GL_ALL_ATTRIB_BITS);
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glDisable(GL11.GL_DEPTH_TEST);
drawRect(this.slot.relx, this.slot.rely, 16, 16, 0x660000AA);
GuiDraw.drawRect(this.slot.relx, this.slot.rely, 16, 16, 0x660000AA);
GL11.glPopAttrib();
} else {
LayoutManager.drawIcon(this.slot.relx + 16 - icon.width, this.slot.rely + 16 - icon.height, icon);
Expand Down

0 comments on commit 46b4319

Please sign in to comment.