crash incomplete renderer in neo

This commit is contained in:
James Seibel
2026-04-10 07:07:15 -05:00
parent a701dd29a9
commit b77ef89df6
@@ -232,20 +232,12 @@ public class MixinLevelRenderer
remap = false
)
)
public void addMainPass(
CallbackInfo ci)
public void addMainPass(CallbackInfo ci)
{
// only crash during development
if (ModInfo.IS_DEV_BUILD)
{
try
{
ClientApi.RENDER_STATE.canRenderOrThrow();
}
catch (IllegalStateException e)
{
return;
}
ClientApi.RENDER_STATE.canRenderOrThrow();
}
ClientApi.INSTANCE.renderLods();