updated NBT dependency

This commit is contained in:
Dylan K. Taylor
2019-12-09 11:26:43 +00:00
parent ab628d0254
commit 3fa628f259
9 changed files with 14 additions and 14 deletions

View File

@@ -57,7 +57,7 @@ trait LegacyAnvilChunkTrait{
protected function deserializeChunk(string $data) : Chunk{
$nbt = new BigEndianNbtSerializer();
try{
$chunk = $nbt->readCompressed($data)->getTag();
$chunk = $nbt->readCompressed($data)->mustGetCompoundTag();
}catch(NbtDataException $e){
throw new CorruptedChunkException($e->getMessage(), 0, $e);
}