mirror of
https://github.com/GTNewHorizons/FindIt.git
synced 2026-11-25 18:54:21 +00:00
Improvements and fixes (#15)
* Improvements and fixes * Add config option not to search in EnderIO conduits
This commit is contained in:
1 parent
4a11c18f99
commit
41e2db4644
15 files changed
+486
-181
No files matched your search
@@ -53,10 +53,10 @@ public class SlotHighlighter implements IContainerDrawHandler {
|
||||
|
||||
@Override
|
||||
public void renderSlotUnderlay(GuiContainer gui, Slot slot) {
|
||||
|
||||
if (this.gui == gui && this.slots.contains(slot)) {
|
||||
GL11.glPushMatrix();
|
||||
|
||||
GL11.glDisable(GL11.GL_LIGHTING);
|
||||
GL11.glDisable(GL11.GL_ALPHA_TEST);
|
||||
GL11.glShadeModel(GL11.GL_SMOOTH);
|
||||
GL11.glEnable(GL11.GL_BLEND);
|
||||
@@ -74,6 +74,7 @@ public class SlotHighlighter implements IContainerDrawHandler {
|
||||
GL11.glShadeModel(GL11.GL_FLAT);
|
||||
GL11.glDisable(GL11.GL_BLEND);
|
||||
GL11.glEnable(GL11.GL_ALPHA_TEST);
|
||||
GL11.glEnable(GL11.GL_LIGHTING);
|
||||
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user