Skip to content

Commit

Permalink
Migrate renderer method
Browse files Browse the repository at this point in the history
  • Loading branch information
StavWasPlayZ committed Jul 20, 2023
1 parent 5ebac7e commit 8a05dcf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
import java.util.List;

import com.cstav.genshinstrument.client.config.ModClientConfigs;
import com.mojang.blaze3d.vertex.PoseStack;

import net.minecraft.ChatFormatting;
import net.minecraft.client.gui.GuiGraphics;
import net.minecraft.client.gui.components.Button;
import net.minecraft.client.gui.screens.Screen;
import net.minecraft.client.gui.screens.multiplayer.WarningScreen;
Expand Down Expand Up @@ -92,8 +92,8 @@ protected void init() {
}

@Override
protected void renderTitle(GuiGraphics gui) {
gui.drawCenteredString(font, title, width/2, 30, Color.WHITE.getRGB());
protected void renderTitle(PoseStack stack) {
drawCenteredString(stack, font, title, width/2, 30, Color.WHITE.getRGB());
}


Expand Down

0 comments on commit 8a05dcf

Please sign in to comment.