mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +03:00
* Fix the same errors as in the decomp repo.
This commit is contained in:
@@ -179,6 +179,8 @@ void ChunkCache::saveAll()
|
||||
m_pChunkStorage->saveAll(m_pLevel, chunksToSave);
|
||||
}
|
||||
|
||||
#ifdef ENH_IMPROVED_SAVING
|
||||
|
||||
void ChunkCache::saveUnsaved()
|
||||
{
|
||||
if (!m_pChunkStorage) return;
|
||||
@@ -200,6 +202,8 @@ void ChunkCache::saveUnsaved()
|
||||
m_pChunkStorage->saveAll(m_pLevel, chunksToSave);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
bool ChunkCache::shouldSave()
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user