File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
src/main/java/net/wurstclient/mixin Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 77 */
88package net .wurstclient .mixin ;
99
10- import org .spongepowered .asm .mixin .Final ;
1110import org .spongepowered .asm .mixin .Mixin ;
12- import org .spongepowered .asm .mixin .Shadow ;
1311import org .spongepowered .asm .mixin .injection .At ;
1412import org .spongepowered .asm .mixin .injection .Inject ;
1513import org .spongepowered .asm .mixin .injection .callback .CallbackInfo ;
1614
1715import net .minecraft .client .gui .DrawContext ;
18- import net .minecraft .client .gui .hud .DebugHud ;
1916import net .minecraft .client .gui .hud .InGameHud ;
2017import net .minecraft .client .render .RenderTickCounter ;
2118import net .minecraft .entity .Entity ;
2825@ Mixin (InGameHud .class )
2926public class IngameHudMixin
3027{
31- @ Shadow
32- @ Final
33- private DebugHud debugHud ;
34-
3528 // runs after renderScoreboardSidebar()
3629 // and before playerListHud.setVisible()
3730 @ Inject (at = @ At ("HEAD" ),
3831 method = "renderPlayerList(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/render/RenderTickCounter;)V" )
3932 private void onRenderPlayerList (DrawContext context ,
4033 RenderTickCounter tickCounter , CallbackInfo ci )
4134 {
42- if (debugHud . shouldShowDebugHud ())
35+ if (WurstClient . MC . debugHudEntryList . isF3Enabled ())
4336 return ;
4437
4538 float tickDelta = tickCounter .getTickProgress (true );
You can’t perform that action at this time.
0 commit comments