Hey,
So I have this RenderGameOverlay event I am subscribing to, in order to draw a rectangle on the overlay:
@SubscribeEvent
public void render(RenderGameOverlayEvent event) {
if (event.isCanceled() || event.getType() != RenderGameOverlayEvent.ElementType.ALL) {
return;
}
int xPos = 10;
int yPos = 10;
mc.ingameGUI.drawRect(xPos, yPos, xPos + 100, yPos + 100, 0xaaffffff);
}
However, this is the result:
What is causing this?
Thanks,
Momo.