mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-03 18:45:01 +00:00
refactor: nuke __int64/__uint64 in Minecraft.World
This commit is contained in:
@@ -966,7 +966,7 @@ void ConsoleSaveFileSplit::tick() {
|
||||
{
|
||||
unsigned int totalDirty = 0;
|
||||
unsigned int totalDirtyBytes = 0;
|
||||
__int64 oldestDirty = currentTime;
|
||||
int64_t oldestDirty = currentTime;
|
||||
for (AUTO_VAR(it, regionFiles.begin()); it != regionFiles.end(); it++) {
|
||||
if (it->second->dirty) {
|
||||
if (it->second->lastWritten < oldestDirty) {
|
||||
@@ -1397,7 +1397,7 @@ void ConsoleSaveFileSplit::Flush(bool autosave, bool updateThumbnail) {
|
||||
std::uint8_t bTextMetadata[88];
|
||||
ZeroMemory(bTextMetadata, 88);
|
||||
|
||||
__int64 seed = 0;
|
||||
int64_t seed = 0;
|
||||
bool hasSeed = false;
|
||||
if (MinecraftServer::getInstance() != NULL &&
|
||||
MinecraftServer::getInstance()->levels[0] != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user