Don't override isMouseOver

Minecraft's Widget class implements this for us!
This commit is contained in:
Jonathan Coates 2021-06-12 22:02:03 +01:00
parent dc21e2dbc9
commit d4745ae47e
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
1 changed files with 0 additions and 6 deletions

View File

@ -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;