From b91d3a6c013980ad7a980857d82cf09c64e8d0cf Mon Sep 17 00:00:00 2001 From: gentlegiantJGC Date: Thu, 19 Sep 2024 13:39:00 +0100 Subject: [PATCH] Reformatted --- src/amulet/resource_pack/abc/resource_pack_manager.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/amulet/resource_pack/abc/resource_pack_manager.py b/src/amulet/resource_pack/abc/resource_pack_manager.py index ab6516111..a7023ba3c 100644 --- a/src/amulet/resource_pack/abc/resource_pack_manager.py +++ b/src/amulet/resource_pack/abc/resource_pack_manager.py @@ -70,11 +70,15 @@ def get_block_model(self, block_stack: BlockStack) -> BlockMesh: The block should already be in the resource pack format""" if block_stack not in self._cached_models: if len(block_stack) == 1: - self._cached_models[block_stack] = self._get_model(block_stack.base_block) + self._cached_models[block_stack] = self._get_model( + block_stack.base_block + ) else: self._cached_models[block_stack] = BlockMesh.merge( (self._get_model(block_stack.base_block),) - + tuple(self._get_model(block_) for block_ in block_stack.extra_blocks) + + tuple( + self._get_model(block_) for block_ in block_stack.extra_blocks + ) ) return copy.deepcopy(self._cached_models[block_stack])