Merge branch 'next-minor' into next-major

This commit is contained in:
Dylan K. Taylor
2022-09-21 15:07:11 +01:00
16 changed files with 208 additions and 69 deletions

View File

@@ -2502,7 +2502,7 @@ class World implements ChunkManager{
continue;
}
if($entity === null){
$saveIdTag = $nbt->getTag("id") ?? $nbt->getTag("identifier");
$saveIdTag = $nbt->getTag("identifier") ?? $nbt->getTag("id");
$saveId = "<unknown>";
if($saveIdTag instanceof StringTag){
$saveId = $saveIdTag->getValue();