mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 08:51:32 +01:00
Fix
This commit is contained in:
parent
8933b92951
commit
acbe0a81a2
@ -100,8 +100,7 @@ public class RendererLivingEntityMixin<T extends EntityLivingBase> {
|
||||
if (!Minecraft.isGuiEnabled() && (!Client.getInstance().getModInstances().getModByClass(NametagsMod.class).isEnabled() || !Client.getInstance().getSettingsManager().getSettingByClass(NametagsMod.class, "Show in F1").getValBoolean())) {
|
||||
cir.setReturnValue(false);
|
||||
cir.cancel();
|
||||
}
|
||||
if(entity == Minecraft.getMinecraft().getRenderManager().livingPlayer && !entity.isInvisible() && (Client.getInstance().getModInstances().getModByClass(NametagsMod.class).isEnabled() && Client.getInstance().getSettingsManager().getSettingByClass(NametagsMod.class, "Show in F5").getValBoolean()) && !(Minecraft.getMinecraft().currentScreen instanceof GuiContainer) && !(Minecraft.getMinecraft().currentScreen instanceof CosmeticsGui) && !(Minecraft.getMinecraft().currentScreen instanceof AdminRender)) {
|
||||
} else if(entity == Minecraft.getMinecraft().getRenderManager().livingPlayer && !entity.isInvisible() && (Client.getInstance().getModInstances().getModByClass(NametagsMod.class).isEnabled() && Client.getInstance().getSettingsManager().getSettingByClass(NametagsMod.class, "Show in F5").getValBoolean()) && !(Minecraft.getMinecraft().currentScreen instanceof GuiContainer) && !(Minecraft.getMinecraft().currentScreen instanceof CosmeticsGui) && !(Minecraft.getMinecraft().currentScreen instanceof AdminRender)) {
|
||||
cir.setReturnValue(true);
|
||||
cir.cancel();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user