Not to mention most commit messages are just things like "skjdfhaufhafalkfjdashf".

This commit is contained in:
Mohamed Ashraf
2026-03-25 09:51:43 +04:00
parent 2f53275462
commit 8855266638
4 changed files with 95884 additions and 6 deletions

View File

@@ -10,6 +10,11 @@
#include "../../Minecraft.World/Blocks/Tile.h"
#include "../../Minecraft.World/Level/WaterLevelChunk.h"
#if defined(__EMSCRIPTEN__)
// eh... I should've enabled wasm64
#define InterlockedCompareExchangeRelease InterlockedCompareExchangeRelease64
#endif
MultiPlayerChunkCache::MultiPlayerChunkCache(Level* level) {
XZSIZE = level->dimension->getXZSize(); // 4J Added
XZOFFSET = XZSIZE / 2; // 4J Added
@@ -295,4 +300,4 @@ void MultiPlayerChunkCache::dataReceived(int x, int z) {
if ((iz < 0) || (iz >= XZSIZE)) return;
int idx = ix * XZSIZE + iz;
hasData[idx] = true;
}
}