Fixed duped and wrong call to drawLODs in fabric. Now it use Fabric api instead of mixin.

This commit is contained in:
TomTheFurry
2022-09-10 17:03:47 +08:00
parent 000d87ccdd
commit a344389500
2 changed files with 22 additions and 22 deletions
@@ -102,8 +102,8 @@ public class FabricClientProxy
// ClientRenderLevelTerrainEvent
WorldRenderEvents.AFTER_SETUP.register((renderContext) ->
clientApi.renderLods(ClientLevelWrapper.getWrapper(renderContext.world()),
McObjectConverter.Convert(renderContext.projectionMatrix()),
McObjectConverter.Convert(renderContext.matrixStack().last().pose()),
McObjectConverter.Convert(renderContext.matrixStack().last().pose()),
McObjectConverter.Convert(renderContext.projectionMatrix()),
renderContext.tickDelta())
);