20w10a
- broken scarpet shapes
This commit is contained in:
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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user