Fixed air propagation above/below world limits
This commit is contained in:
parent
6bbe69b631
commit
3f23a398f2
1 changed files with 5 additions and 0 deletions
|
@ -341,6 +341,11 @@ public class ChunkData {
|
|||
}
|
||||
|
||||
public void setDataAir(final int x, final int y, final int z, final int dataAirBlock) {
|
||||
// ignore out of world requests
|
||||
if (y < 0 || y > 255) {
|
||||
return;
|
||||
}
|
||||
|
||||
final int indexData = getDataIndex(x, y, z);
|
||||
|
||||
// get segment
|
||||
|
|
Loading…
Add table
Reference in a new issue