mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Remove random dead TODOs
This commit is contained in:
parent
874fdf5adb
commit
6703f46a08
@ -99,7 +99,6 @@ class RuntimeBlockStateRegistry{
|
||||
try{
|
||||
$v->decodeTypeAndStateData($stateData);
|
||||
if($v->computeTypeAndStateData() !== $stateData){
|
||||
//TODO: this should probably be a hard error
|
||||
throw new \LogicException(get_class($block) . "::decodeStateData() accepts invalid state data (returned " . $v->computeTypeAndStateData() . " for input $stateData)");
|
||||
}
|
||||
}catch(InvalidSerializedRuntimeDataException){ //invalid property combination, leave it
|
||||
|
@ -627,7 +627,6 @@ class LevelDB extends BaseWorldProvider implements WritableWorldProvider{
|
||||
$subChunks = $this->deserializeLegacyTerrainData($index, $chunkVersion);
|
||||
break;
|
||||
default:
|
||||
//TODO: set chunks read-only so the version on disk doesn't get overwritten
|
||||
throw new CorruptedChunkException("don't know how to decode chunk format version $chunkVersion");
|
||||
}
|
||||
|
||||
@ -664,7 +663,7 @@ class LevelDB extends BaseWorldProvider implements WritableWorldProvider{
|
||||
//TODO: tile ticks, biome states (?)
|
||||
|
||||
$chunk = new Chunk(
|
||||
$subChunks, //TODO: maybe missing biomes should be an error?
|
||||
$subChunks,
|
||||
$terrainPopulated
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user