Do not completely hide invisible players in the Replay (their armor wasn't rendered)

This commit is contained in:
CrushedPixel
2015-09-04 08:34:17 +02:00
parent 9d4fdccb0f
commit 409c215937

View File

@@ -20,7 +20,7 @@ public class InvisibilityRender extends RenderPlayer {
@Override
public boolean shouldRender(Entity entity, ICamera camera, double camX, double camY, double camZ) {
return !(PlayerHandler.isHidden(entity.getUniqueID()) || entity.isInvisible() || (ReplayHandler.isInReplay()
return !(PlayerHandler.isHidden(entity.getUniqueID()) || (ReplayHandler.isInReplay()
&& entity == Minecraft.getMinecraft().thePlayer))
&& super.shouldRender(entity, camera, camX, camY, camZ);
}