Unlike NibbleArray3d, size should not be shifted in ByteArray3d

This commit is contained in:
Steveice10 2014-01-28 21:34:13 -08:00
parent a9d7bb8019
commit 5e4b0fa53e

View file

@ -7,7 +7,7 @@ public class ByteArray3d {
private byte[] data;
public ByteArray3d(int size) {
this.data = new byte[size >> 1];
this.data = new byte[size];
}
public ByteArray3d(byte[] array) {