mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-27 01:08:34 +01:00
fixed special renderer being too low
This commit is contained in:
parent
17ae055209
commit
df0f0aed58
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ public class RenderSpecial{
|
||||||
Vec3d currentPos = Minecraft.getMinecraft().thePlayer.getPositionEyes(partialTicks);
|
Vec3d currentPos = Minecraft.getMinecraft().thePlayer.getPositionEyes(partialTicks);
|
||||||
Vec3d playerPos = player.getPositionEyes(partialTicks);
|
Vec3d playerPos = player.getPositionEyes(partialTicks);
|
||||||
GlStateManager.translate(playerPos.xCoord-currentPos.xCoord, playerPos.yCoord-currentPos.yCoord, playerPos.zCoord-currentPos.zCoord);
|
GlStateManager.translate(playerPos.xCoord-currentPos.xCoord, playerPos.yCoord-currentPos.yCoord, playerPos.zCoord-currentPos.zCoord);
|
||||||
GlStateManager.translate(0D, 2.375D-(player.isSneaking() ? 0.125D : 0D), 0D);
|
GlStateManager.translate(0D, 2.575D-(player.isSneaking() ? 0.125D : 0D), 0D);
|
||||||
|
|
||||||
this.render();
|
this.render();
|
||||||
GlStateManager.popMatrix();
|
GlStateManager.popMatrix();
|
||||||
|
|
Loading…
Reference in a new issue