Fixing up invisible widgets and redstone enum changes.

This commit is contained in:
AlgorithmX2
2014-01-05 02:41:03 -06:00
parent f1b32b4dfa
commit 803e62fcc7
4 changed files with 29 additions and 12 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ public abstract class AEBaseGui extends GuiContainer
int x = tooltip.xPos(); // ((GuiImgButton) c).xPosition;
int y = tooltip.yPos(); // ((GuiImgButton) c).yPosition;
if ( x < mouse_x && x + tooltip.getWidth() > mouse_x )
if ( x < mouse_x && x + tooltip.getWidth() > mouse_x && tooltip.isVisible() )
{
if ( y < mouse_y && y + tooltip.getHeight() > mouse_y )
{