From 744b1788ecb0cd062952723f9c5c8215d5a03cb0 Mon Sep 17 00:00:00 2001 From: Hendrix-Shen Date: Sun, 21 Jul 2024 13:51:17 +0800 Subject: [PATCH] Oops Signed-off-by: Hendrix-Shen --- .../MasaGadget/impl/gui/ScalableWidgetLabel.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/plusls/MasaGadget/impl/gui/ScalableWidgetLabel.java b/src/main/java/com/plusls/MasaGadget/impl/gui/ScalableWidgetLabel.java index b07b443..d2e64e1 100644 --- a/src/main/java/com/plusls/MasaGadget/impl/gui/ScalableWidgetLabel.java +++ b/src/main/java/com/plusls/MasaGadget/impl/gui/ScalableWidgetLabel.java @@ -14,9 +14,12 @@ import com.mojang.blaze3d.vertex.PoseStack; //#endif -//#if MC < 12000 && MC > 11404 -import net.minecraft.client.renderer.MultiBufferSource; +//#if MC > 11404 import top.hendrixshen.magiclib.util.minecraft.render.RenderUtil; +import net.minecraft.client.renderer.MultiBufferSource; +//#endif + +//#if MC < 12000 && MC > 11404 //#endif @Getter @@ -85,12 +88,8 @@ public void render( //#else //$$ new PoseStack().last().pose(), //#endif - //#if MC > 11904 - //$$ renderContext.getGuiComponent().bufferSource(), - //#else immediate, //#endif - //#endif FontCompat.DisplayMode.NORMAL, 0, 0xf000f0