Modified spatial cells such that they anchor the spatial dimension @ 0,64,0.

Fixes #1712
This commit is contained in:
Sebastian Hartte
2016-10-13 20:55:46 +02:00
parent e82641760b
commit cfbc6b4543
2 changed files with 19 additions and 17 deletions
@@ -166,7 +166,7 @@ public class ItemSpatialStorageCell extends AEBaseItem implements ISpatialStorag
}
final int floorBuffer = 64;
StorageHelper.getInstance().swapRegions( w, destination, min.x + 1, min.y + 1, min.z + 1, 1, floorBuffer + 1, 1, targetX - 1, targetY - 1, targetZ - 1 );
StorageHelper.getInstance().swapRegions( w, min.x + 1, min.y + 1, min.z + 1, destination, 0, floorBuffer, 0, targetX - 1, targetY - 1, targetZ - 1 );
this.setStoredSize( is, targetX, targetY, targetZ );
return new TransitionResult( true, 0 );