Fix bug where thePlayer is reset to the position of its bounding box causing the suffocation overlay to be displayed for a frame

This commit is contained in:
johni0702
2015-07-19 13:39:33 +02:00
parent 07fc3ceced
commit 7a7766c20f

View File

@@ -102,9 +102,7 @@ public class CameraEntity extends EntityPlayer {
mc.thePlayer.rotationYaw = mc.getRenderViewEntity().rotationYaw;
//removes water/suffocation/shadow overlays in screen
mc.thePlayer.posX = 0;
mc.thePlayer.posY = 500;
mc.thePlayer.posZ = 0;
mc.thePlayer.setPosition(0, 500, 0);
}
lastCall = Sys.getTime();