mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-06-17 08:12:53 +00:00
Merge upstream: fix redstone tick persistence on chunk unload
This commit is contained in:
commit
2e75441355
|
|
@ -1809,6 +1809,7 @@ void MinecraftServer::run(int64_t seed, void *lpParameter)
|
|||
|
||||
chunkPacketManagement_PostTick();
|
||||
}
|
||||
lastTime = getCurrentTimeMillis();
|
||||
// int64_t afterall = System::currentTimeMillis();
|
||||
// PIXReportCounter(L"Server time all",(float)(afterall-beforeall));
|
||||
// PIXReportCounter(L"Server ticks",(float)tickcount);
|
||||
|
|
|
|||
|
|
@ -678,7 +678,7 @@ bool ServerLevel::tickPendingTicks(bool force)
|
|||
}
|
||||
else
|
||||
{
|
||||
addToTickNextTick(td.x, td.y, td.z, td.tileId, 0);
|
||||
forceAddTileTick(td.x, td.y, td.z, td.tileId, 0, td.priorityTilt);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue