build fixes

This commit is contained in:
Tropical
2026-03-22 00:10:15 -05:00
parent ab2efa87e4
commit 330ce54cda
8 changed files with 144 additions and 133 deletions

View File

@@ -306,7 +306,7 @@ void OldChunkStorage::save(LevelChunk* lc, Level* level,
std::vector<TickNextTickData>* ticksInChunk =
level->fetchTicksInChunk(lc, false);
if (ticksInChunk != NULL) {
int64_t levelTime = level->getTime();
int64_t levelTime = level->getGameTime();
ListTag<CompoundTag>* tickTags = new ListTag<CompoundTag>();
for (int i = 0; i < ticksInChunk->size(); i++) {
@@ -405,7 +405,7 @@ void OldChunkStorage::save(LevelChunk* lc, Level* level, CompoundTag* tag) {
std::vector<TickNextTickData>* ticksInChunk =
level->fetchTicksInChunk(lc, false);
if (ticksInChunk != NULL) {
int64_t levelTime = level->getTime();
int64_t levelTime = level->getGameTime();
ListTag<CompoundTag>* tickTags = new ListTag<CompoundTag>();
for (int i = 0; i < ticksInChunk->size(); i++) {