Skip to content

Commit 342aa27

Browse files
authored
Fix TextRenderer's rendering issue accidentally introduced in #116 (#119)
Signed-off-by: Hendrix-Shen <[email protected]>
1 parent f5d31eb commit 342aa27

File tree

1 file changed

+2
-2
lines changed
  • magiclib-minecraft-api/src/main/java/top/hendrixshen/magiclib/impl/render

1 file changed

+2
-2
lines changed

magiclib-minecraft-api/src/main/java/top/hendrixshen/magiclib/impl/render/TextRenderer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public void render() {
158158
this.verticalAlignment.getTranslateY(totalTextHeight), 0);
159159
context.translate(this.shiftX, this.shiftY, 0);
160160
//#if MC > 11605
161-
//#if MC < 12101
161+
//#if MC < 12102
162162
//$$ RenderSystem.applyModelViewMatrix();
163163
//#endif
164164
//#else
@@ -226,7 +226,7 @@ public void render() {
226226
RenderGlobal.enableDepthTest();
227227
//#endif
228228
positionTransformer.restore();
229-
//#if MC > 11605 && MC < 12101
229+
//#if MC > 11605 && MC < 12102
230230
//$$ RenderSystem.applyModelViewMatrix();
231231
//#endif
232232
}

0 commit comments

Comments
 (0)