Don't override isMouseOver
Minecraft's Widget class implements this for us!
This commit is contained in:
parent
dc21e2dbc9
commit
d4745ae47e
|
@ -319,12 +319,6 @@ public void render( int mouseX, int mouseY, float partialTicks )
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isMouseOver( double x, double y )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public static int getWidth( int termWidth )
|
||||
{
|
||||
return termWidth * FONT_WIDTH + MARGIN * 2;
|
||||
|
|
Loading…
Reference in New Issue