LevelProvider: Nuked the complicated mess out of level providers

Level providers are now cut back to just an interface to a world's data. They don't keep their own chunk registries or any stupid shit like that because the Level already does that.

This furthers the goal of being able to move level I/O off the main thread, and also drastically decreases the complication of implementing level providers.
This commit is contained in:
Dylan K. Taylor
2018-01-01 11:21:46 +00:00
parent 1a615591e2
commit a46029c0f6
5 changed files with 18 additions and 139 deletions

View File

@ -527,7 +527,6 @@ class LevelDB extends BaseLevelProvider{
}
public function close(){
$this->unloadChunks();
$this->db->close();
}
}