鏡像自
https://github.com/luanti-org/luanti.git
已同步 2025-12-17 04:25:26 +01:00
Partially restore the existing logic, and try to enqueue a block as before, if the queue is full it will be handled correctly.
此提交包含在:
@@ -343,11 +343,7 @@ void RemoteClient::GetNextBlocks (
|
||||
const bool want_emerge = !block || !block->isGenerated();
|
||||
|
||||
// if the block is already in the emerge queue we don't have to check again
|
||||
if (want_emerge && emerge->isBlockInQueue(p)) {
|
||||
nearest_emerged_d = d;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!want_emerge || !emerge->isBlockInQueue(p)) {
|
||||
/*
|
||||
Check occlusion cache first.
|
||||
*/
|
||||
@@ -362,6 +358,7 @@ void RemoteClient::GetNextBlocks (
|
||||
m_blocks_occ.insert(p);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Add inexistent block to emerge queue.
|
||||
|
||||
新增問題並參考
封鎖使用者