Update GuiPlayerTabOverlayMixin.java

This commit is contained in:
kirillsaint 2023-09-01 22:18:42 +06:00
parent 722237c0ab
commit 0202460601

View File

@ -230,7 +230,7 @@ public abstract class GuiPlayerTabOverlayMixin {
if (scoreObjectiveIn != null && networkplayerinfo1.getGameType() != WorldSettings.GameType.SPECTATOR) if (scoreObjectiveIn != null && networkplayerinfo1.getGameType() != WorldSettings.GameType.SPECTATOR)
{ {
int k5 = j2 + i + 1; int k5 = (j2 - (isSilent && Client.getInstance().getModInstances().getModByClass(TabMod.class).isEnabled() && Client.getInstance().getSettingsManager().getSettingByClass(TabMod.class, "Show Nametag Icons").getValBoolean() ? 9 : 0)) + i + 1;
int l5 = k5 + l; int l5 = k5 + l;
if (l5 - k5 > 5) if (l5 - k5 > 5)