mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-06-06 05:33:29 +02:00
fix redstone tick persistence on chunk unload (#1423)
This commit is contained in:
@@ -1795,6 +1795,7 @@ void MinecraftServer::run(int64_t seed, void *lpParameter)
|
|||||||
|
|
||||||
chunkPacketManagement_PostTick();
|
chunkPacketManagement_PostTick();
|
||||||
}
|
}
|
||||||
|
lastTime = getCurrentTimeMillis();
|
||||||
// int64_t afterall = System::currentTimeMillis();
|
// int64_t afterall = System::currentTimeMillis();
|
||||||
// PIXReportCounter(L"Server time all",(float)(afterall-beforeall));
|
// PIXReportCounter(L"Server time all",(float)(afterall-beforeall));
|
||||||
// PIXReportCounter(L"Server ticks",(float)tickcount);
|
// PIXReportCounter(L"Server ticks",(float)tickcount);
|
||||||
|
|||||||
@@ -678,7 +678,7 @@ bool ServerLevel::tickPendingTicks(bool force)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
addToTickNextTick(td.x, td.y, td.z, td.tileId, 0);
|
forceAddTileTick(td.x, td.y, td.z, td.tileId, 0, td.priorityTilt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user