NoParticles

This commit is contained in:
ThisIsALegitUsername 2022-12-29 00:36:35 +00:00
parent b2aa3c435f
commit 1c6adca66f

View File

@ -1150,7 +1150,7 @@ public class EntityRenderer implements IResourceManagerReloadListener {
RenderHelper.disableStandardItemLighting(); RenderHelper.disableStandardItemLighting();
this.setupFog(0, partialTicks); this.setupFog(0, partialTicks);
this.mc.mcProfiler.endStartSection("particles"); this.mc.mcProfiler.endStartSection("particles");
if(!W.noParticles().isEnabled())
effectrenderer.renderParticles(entity, partialTicks); effectrenderer.renderParticles(entity, partialTicks);
this.disableLightmap(); this.disableLightmap();
} }