diff --git a/common/buildcraft/core/robots/EntityRobot.java b/common/buildcraft/core/robots/EntityRobot.java index 92e472e6..2d0d7c28 100755 --- a/common/buildcraft/core/robots/EntityRobot.java +++ b/common/buildcraft/core/robots/EntityRobot.java @@ -475,10 +475,10 @@ public class EntityRobot extends EntityRobotBase implements @Override public void aimItemAt(int x, int y, int z) { - float itemAngle1 = (float) Math.atan2(z - Math.floor(posZ), + itemAngle1 = (float) Math.atan2(z - Math.floor(posZ), x - Math.floor(posX)); - float itemAngle2 = 0; + itemAngle2 = 0; if (Math.floor(posY) < y) { itemAngle2 = (float) -Math.PI / 4;