Fix section size

This commit is contained in:
Mike Primm 2012-02-17 00:13:33 -06:00
parent 2e2fbec8f9
commit f95a832cae

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 */