Fix section size

This commit is contained in:
Mike Primm 2012-02-17 00:13:33 -06:00
parent 94f0cd48a6
commit fb9b0b0d2a

View file

@ -794,7 +794,7 @@ public class NewMapChunkCache implements MapChunkCache {
return ss.getRawBiomeRainfall(x & 0xF, z & 0xF);
}
private void initSectionData(int idx) {
isSectionNotEmpty[idx] = new boolean[w.getMaxHeight() >> 16];
isSectionNotEmpty[idx] = new boolean[w.getMaxHeight() >> 4];
int maxy = 0;
if(snaparray[idx] != EMPTY) {
/* Get max height */