super();
mc = FMLClientHandler.instance().getClient();
}
public void renderGameOverlay(float frame) {
if (Battlegear.battlegearEnabled && !this.mc.playerController.isSpectator() && this.mc.getRenderViewEntity() instanceof EntityPlayer) {
<BUG>ScaledResolution scaledresolution = new ScaledResolution(this.mc, this.mc.displayWidth, this.mc.displayHeight);
int width = scaledresolution.getScaledWidth();</BUG>
int height = scaledresolution.getScaledHeight();
RenderGameOverlayEvent renderEvent = new RenderGameOverlayEvent(frame, scaledresolution);
GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);

super();
mc = FMLClientHandler.instance().getClient();
}
public void renderGameOverlay(float frame) {
if (Battlegear.battlegearEnabled && !this.mc.playerController.isSpectator() && this.mc.getRenderViewEntity() instanceof EntityPlayer) {
ScaledResolution scaledresolution = new ScaledResolution(this.mc);
int width = scaledresolution.getScaledWidth();
int height = scaledresolution.getScaledHeight();
RenderGameOverlayEvent renderEvent = new RenderGameOverlayEvent(frame, scaledresolution);
GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
