Update GuiPlayerTabOverlayMixin.java

This commit is contained in:
kirillsaint 2023-07-01 17:50:36 +06:00
parent 1272e50db2
commit f43788cda5

View File

@ -141,7 +141,7 @@ public class GuiPlayerTabOverlayMixin {
GameProfile gameprofile = instance.getGameProfile();
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;
boolean isSilent;
EntityPlayer entityplayer = this.mc.theWorld.getPlayerEntityByUUID(gameprofile.getId());
try {
isSilent = Boolean.parseBoolean(Players.getPlayerStatus(entityplayer == mc.thePlayer, entityplayer.getName().toString(), entityplayer.getUniqueID(), (AbstractClientPlayer) entityplayer));