@@ -32,8 +32,6 @@ public abstract class TitleScreenMixin extends Screen
3232{
3333 private AbstractWidget realmsButton = null ;
3434 private Button wurstOptionsButton ;
35- private int forkInfoX = 4 ;
36- private int forkInfoY = 4 ;
3735
3836 private TitleScreenMixin (WurstClient wurst , Component title )
3937 {
@@ -82,9 +80,6 @@ private void onAddNormalWidgets(int y, int spacingY,
8280 @ Inject (at = @ At ("RETURN" ), method = "tick()V" )
8381 private void onTick (CallbackInfo ci )
8482 {
85- if (WurstClient .INSTANCE .getForkUpdateChecker () != null )
86- WurstClient .INSTANCE .getForkUpdateChecker ().startIfNeeded ();
87-
8883 if (realmsButton == null || wurstOptionsButton == null )
8984 return ;
9085
@@ -100,15 +95,9 @@ private void onRender(GuiGraphics graphics, int mouseX, int mouseY,
10095 {
10196 Font font = minecraft .font ;
10297 String brand = NiceWurstModule .isActive () ? "NiceWurst" : "Wurst" ;
103- String baseText = brand + " " + BuildConfig .MOD_VERSION + " v"
104- + BuildConfig .FORK_RELEASE_VERSION ;
105- String suffix = WurstClient .INSTANCE .getForkUpdateChecker () == null ? ""
106- : WurstClient .INSTANCE .getForkUpdateChecker ().getStatusSuffix ();
107- String text = baseText + suffix ;
108-
109- Component component = Component .literal (text );
110- graphics .drawString (font , component .getVisualOrderText (), forkInfoX ,
111- forkInfoY , 0xFFFFFFFF , true );
98+ String text = brand + " " + BuildConfig .MOD_VERSION ;
99+ graphics .drawString (font , Component .literal (text ).getVisualOrderText (),
100+ 4 , 4 , 0xFFFFFFFF , true );
112101 }
113102
114103 /**
0 commit comments