This commit is contained in:
ThisIsALegitUsername 2023-04-02 00:17:26 +00:00
parent da42063c54
commit bc35b56465
4 changed files with 11756 additions and 11758 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -886,7 +886,9 @@ public class EntityRenderer implements IResourceManagerReloadListener {
GlStateManager.enableOverlayFramebufferBlending(); GlStateManager.enableOverlayFramebufferBlending();
this.mc.ingameGUI.renderGameOverlay(parFloat1); this.mc.ingameGUI.renderGameOverlay(parFloat1);
} }
ModManager.cps.draw(); if(ModManager.cps.isEnabled()){
ModManager.cps.draw();
}
if (framebufferAge == -1l || framebufferAge > (Minecraft.getDebugFPS() < 25 ? 125l : 75l)) { if (framebufferAge == -1l || framebufferAge > (Minecraft.getDebugFPS() < 25 ? 125l : 75l)) {
GlStateManager.disableOverlayFramebufferBlending(); GlStateManager.disableOverlayFramebufferBlending();
this.overlayFramebuffer.endRender(); this.overlayFramebuffer.endRender();