- broken scarpet shapes
This commit is contained in:
gnembon committed 2021-03-10 23:13:59 -04:00
1 parent 170fd9d762
commit 42f78a596a
16 files changed
+78 -48

No files matched your search

@@ -19,9 +19,11 @@ public class FabricAPIHooks {
if (WORLD_RENDER_EVENTS) {
WorldRenderEvents.BEFORE_DEBUG_RENDER.register(context -> {
if (CarpetClient.shapes != null) {
RenderSystem.pushMatrix();
CarpetClient.shapes.render(context.camera(), context.tickDelta());
RenderSystem.popMatrix();
context.matrixStack().push();
//RenderSystem.pushMatrix();
CarpetClient.shapes.render(context.matrixStack(), context.camera(), context.tickDelta());
//RenderSystem.popMatrix();
context.matrixStack().pop();
}
});
}