Replace String lists containing block names with actual block lists

It just makes sense like wtf
This commit is contained in:
Brady
2018-09-12 17:12:06 -05:00
parent a7504caa67
commit 2fd888b9ee
5 changed files with 33 additions and 24 deletions

View File

@@ -124,8 +124,7 @@ public final class ChunkPacker implements Helper {
blockNames[z << 4 | x] = "air";
}
}
CachedChunk cached = new CachedChunk(chunk.x, chunk.z, bitSet, blockNames, specialBlocks);
return cached;
return new CachedChunk(chunk.x, chunk.z, bitSet, blockNames, specialBlocks);
}
public static String blockToString(Block block) {