mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-26 00:47:06 +00:00
format everything
This commit is contained in:
@@ -26,8 +26,7 @@ MultiPlayerChunkCache::MultiPlayerChunkCache(Level* level) {
|
||||
memset(hasData, 0, sizeof(bool) * XZSIZE * XZSIZE);
|
||||
|
||||
std::vector<uint8_t> emptyBlocks(16 * 16 * Level::maxBuildHeight);
|
||||
emptyChunk = new EmptyLevelChunk(
|
||||
level, emptyBlocks, 0, 0);
|
||||
emptyChunk = new EmptyLevelChunk(level, emptyBlocks, 0, 0);
|
||||
|
||||
// For normal world dimension, create a chunk that can be used to create the
|
||||
// illusion of infinite water at the edge of the world
|
||||
@@ -63,7 +62,6 @@ MultiPlayerChunkCache::MultiPlayerChunkCache(Level* level) {
|
||||
|
||||
waterChunk = new WaterLevelChunk(level, bytes, 0, 0);
|
||||
|
||||
|
||||
if (level->getLevelData()->getGenerator() == LevelType::lvl_flat) {
|
||||
for (int x = 0; x < 16; x++)
|
||||
for (int y = 0; y < 128; y++)
|
||||
|
||||
Reference in New Issue
Block a user