1.14.4pre1
This commit is contained in:
1 parent
0b6732fa93
commit
cd4ae14448
14 files changed
+59
-62
No files matched your search
@@ -19,7 +19,7 @@ public abstract class InGameHudMixin
|
||||
|
||||
@Shadow @Final private PlayerListHud playerListHud;
|
||||
|
||||
@Redirect(method = "draw", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/MinecraftClient;isInSingleplayer()Z"))
|
||||
@Redirect(method = "render", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/MinecraftClient;isInSingleplayer()Z"))
|
||||
private boolean onDraw(MinecraftClient minecraftClient)
|
||||
{
|
||||
return this.client.isInSingleplayer() && !((PlayerListHudInterface) playerListHud).hasFooterOrHeader();
|
||||
|
||||
Reference in new issue
Block a user