LevelDB: removed hack for problem fixed by 1f9400f9011546ab914090853069aaa76192a722

This commit is contained in:
Dylan K. Taylor 2021-12-04 16:20:57 +00:00
parent 1b86355c40
commit e61aaaccca
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -175,11 +175,6 @@ class LevelDB extends BaseWorldProvider implements WritableWorldProvider{
$id = $idMap->stringToLegacy($tag->getString("name")) ?? BlockLegacyIds::INFO_UPDATE;
$data = $tag->getShort("val");
if($id === BlockLegacyIds::AIR){
//TODO: quick and dirty hack for artifacts left behind by broken world editors
//we really need a proper state fixer, but this is a pressing issue.
$data = 0;
}
$palette[] = ($id << Block::INTERNAL_METADATA_BITS) | $data;
}