Fix section size
This commit is contained in:
parent
94f0cd48a6
commit
fb9b0b0d2a
1 changed files with 1 additions and 1 deletions
|
|
@ -794,7 +794,7 @@ public class NewMapChunkCache implements MapChunkCache {
|
||||||
return ss.getRawBiomeRainfall(x & 0xF, z & 0xF);
|
return ss.getRawBiomeRainfall(x & 0xF, z & 0xF);
|
||||||
}
|
}
|
||||||
private void initSectionData(int idx) {
|
private void initSectionData(int idx) {
|
||||||
isSectionNotEmpty[idx] = new boolean[w.getMaxHeight() >> 16];
|
isSectionNotEmpty[idx] = new boolean[w.getMaxHeight() >> 4];
|
||||||
int maxy = 0;
|
int maxy = 0;
|
||||||
if(snaparray[idx] != EMPTY) {
|
if(snaparray[idx] != EMPTY) {
|
||||||
/* Get max height */
|
/* Get max height */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue