This commit is contained in:
Jesse Boyd 2017-01-11 18:08:12 +11:00
parent 11cb7d1671
commit 4dc6cadc5d
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -444,7 +444,7 @@ public class NMSRelighter implements Relighter{
public RelightSkyEntry(int x, int z, byte[] fix, int bitmask) {
this.x = x;
this.z = z;
byte[] array = new byte[maxY + 1];
byte[] array = new byte[256];
Arrays.fill(array, (byte) 15);
this.mask = array;
this.bitmask = bitmask;