Fix non-major axis offsets not working properly

This commit is contained in:
tterrag1098 committed 2014-11-14 03:45:11 -05:00
1 parent 86549da459
commit 24471b93d5
1 file changed
+3 -3
@@ -38,9 +38,9 @@ public enum Offset {
}
private Offset(ForgeDirection dir, ForgeDirection yDir) {
xOffset = dir.offsetX;
yOffset = yDir.offsetY;
zOffset = dir.offsetZ;
xOffset = dir.offsetX + yDir.offsetX;
yOffset = dir.offsetY + yDir.offsetY;
zOffset = dir.offsetZ + yDir.offsetZ;
}
private Offset(int xOffset, int yOffset, int zOffset) {