1
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-07-05 01:29:55 +00:00

LevelDB: remove unused function

This commit is contained in:
Dylan K. Taylor 2020-07-08 23:24:54 +01:00
parent 31fd427710
commit a5d77d5106

@ -489,10 +489,6 @@ class LevelDB extends BaseWorldProvider implements WritableWorldProvider{
return Binary::writeLInt($chunkX) . Binary::writeLInt($chunkZ); return Binary::writeLInt($chunkX) . Binary::writeLInt($chunkZ);
} }
private function chunkExists(int $chunkX, int $chunkZ) : bool{
return $this->db->get(LevelDB::chunkIndex($chunkX, $chunkZ) . self::TAG_VERSION) !== false;
}
public function doGarbageCollection() : void{ public function doGarbageCollection() : void{
} }