Fix all warnings
Add and make use of Lombok Remove Mojang API Remove ZipFileUtils Remove StreamTools in favor of Apache IOUtils Keyframe should be abstract all derivatives final Replace clone in Keyframe with copy Move some constants from GuiReplaySetttings to GuiConstants
This commit is contained in:
@@ -20,8 +20,8 @@ public class InvisibilityRender extends RenderPlayer {
|
||||
|
||||
@Override
|
||||
public boolean shouldRender(Entity entity, ICamera camera, double camX, double camY, double camZ) {
|
||||
if(PlayerHandler.isHidden(entity.getUniqueID()) || entity.isInvisible() ||
|
||||
(ReplayHandler.isInReplay() && entity == Minecraft.getMinecraft().thePlayer)) return false;
|
||||
return super.shouldRender(entity, camera, camX, camY, camZ);
|
||||
return !(PlayerHandler.isHidden(entity.getUniqueID()) || entity.isInvisible() || (ReplayHandler.isInReplay()
|
||||
&& entity == Minecraft.getMinecraft().thePlayer))
|
||||
&& super.shouldRender(entity, camera, camX, camY, camZ);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user