Hex biome map fixes
This commit is contained in:
parent
0bfefa460f
commit
7daf9f614c
1 changed files with 2 additions and 2 deletions
|
@ -66,9 +66,9 @@ public class HexBiomeChunk {
|
||||||
|
|
||||||
for (short index = 0; index < SIZE; index++) {
|
for (short index = 0; index < SIZE; index++) {
|
||||||
if (outBuffer[index] == null) {
|
if (outBuffer[index] == null) {
|
||||||
System.out.println("Buffer is null at " + index + ": " + (index >> SIDE_OFFSET) + " " + (index & SIDE_MASK));
|
outBuffer[index] = picker.getBiome(random);
|
||||||
}
|
}
|
||||||
if (outBuffer[index] != null && random.nextInt(4) == 0) {
|
else if (random.nextInt(4) == 0) {
|
||||||
circle(outBuffer, index, outBuffer[index].getSubBiome(random), outBuffer[index]);
|
circle(outBuffer, index, outBuffer[index].getSubBiome(random), outBuffer[index]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue