This commit is contained in:
Leijurv 2019-03-13 19:23:28 -07:00
parent 89fb5cecd5
commit 226ede7ba2
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -90,8 +90,7 @@ public final class ChunkPacker {
IBlockState[] blocks = new IBlockState[256]; IBlockState[] blocks = new IBlockState[256];
for (int z = 0; z < 16; z++) { for (int z = 0; z < 16; z++) {
https: https://www.ibm.com/developerworks/library/j-perry-writing-good-java-code/index.html
//www.ibm.com/developerworks/library/j-perry-writing-good-java-code/index.html
for (int x = 0; x < 16; x++) { for (int x = 0; x < 16; x++) {
for (int y = 255; y >= 0; y--) { for (int y = 255; y >= 0; y--) {
int index = CachedChunk.getPositionIndex(x, y, z); int index = CachedChunk.getPositionIndex(x, y, z);