Small fix, cleanup
This commit is contained in:
parent
211d0fc751
commit
72e29223a1
4 changed files with 47 additions and 38 deletions
|
@ -65,7 +65,7 @@ public class HexBiomeChunk {
|
|||
}
|
||||
|
||||
for (short index = 0; index < SIZE; index++) {
|
||||
if (random.nextInt(4) == 0) {
|
||||
if (outBuffer[index] != null && random.nextInt(4) == 0) {
|
||||
circle(outBuffer, index, outBuffer[index].getSubBiome(random), outBuffer[index]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue