mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
LevelDB: removed hack for problem fixed by 1f9400f9011546ab914090853069aaa76192a722
This commit is contained in:
parent
1b86355c40
commit
e61aaaccca
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user