This commit is contained in:
kirillsaint 2023-07-01 17:49:58 +06:00
parent 5161ddf1ad
commit 1272e50db2

View File

@ -140,7 +140,7 @@ public class GuiPlayerTabOverlayMixin {
public GameProfile nametagIcon2(NetworkPlayerInfo instance) {
GameProfile gameprofile = instance.getGameProfile();
if(this.mc.isIntegratedServerRunning() || this.mc.getNetHandler().getNetworkManager().getIsencrypted()) {
if(Client.getInstance().getModInstances().getModByClass(TabMod.class).isEnabled() && Client.getInstance().getSettingsManager().getSettingByClass(TabMod.class, "Show Nametag Icons").getValBoolean() && this.mc.isIntegratedServerRunning() || this.mc.getNetHandler().getNetworkManager().getIsencrypted()) {
boolean isSilent = false;
EntityPlayer entityplayer = this.mc.theWorld.getPlayerEntityByUUID(gameprofile.getId());
try {