mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-01 19:04:48 +00:00
style: clang-format the entire project
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#include "MultiPlayerChunkCache.h"
|
||||
#include <atomic>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <atomic>
|
||||
|
||||
#include "minecraft/network/INetworkService.h"
|
||||
#include "util/StringHelpers.h"
|
||||
#include "minecraft/server/MinecraftServer.h"
|
||||
#include "minecraft/server/level/ServerChunkCache.h"
|
||||
#include "minecraft/server/level/ServerLevel.h"
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "minecraft/world/level/dimension/Dimension.h"
|
||||
#include "minecraft/world/level/storage/LevelData.h"
|
||||
#include "minecraft/world/level/tile/Tile.h"
|
||||
#include "util/StringHelpers.h"
|
||||
|
||||
MultiPlayerChunkCache::MultiPlayerChunkCache(Level* level) {
|
||||
XZSIZE = level->dimension->getXZSize(); // 4J Added
|
||||
@@ -175,8 +176,8 @@ LevelChunk* MultiPlayerChunkCache::create(int x, int z) {
|
||||
if (MinecraftServer::getInstance()->serverHalted())
|
||||
return nullptr;
|
||||
|
||||
// If we're the host, then don't create the chunk, share data
|
||||
// from the server's copy
|
||||
// If we're the host, then don't create the chunk, share
|
||||
// data from the server's copy
|
||||
#ifdef _LARGE_WORLDS
|
||||
LevelChunk* serverChunk =
|
||||
MinecraftServer::getInstance()
|
||||
|
||||
Reference in New Issue
Block a user