From 4ab3fadbeca75cd4c39d507706c57c6213e8da3a Mon Sep 17 00:00:00 2001 From: ZiWei <131428629+ZiWei09@users.noreply.github.com> Date: Sat, 18 Oct 2025 19:25:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(graphio):=20=E4=BF=AE=E6=AD=A3bioyond?= =?UTF-8?q?=E5=88=B0plr=E8=B5=84=E6=BA=90=E8=BD=AC=E6=8D=A2=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E5=9D=90=E6=A0=87=E8=AE=A1=E7=AE=97=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unilabos/resources/graphio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unilabos/resources/graphio.py b/unilabos/resources/graphio.py index 6a09d657..65837b04 100644 --- a/unilabos/resources/graphio.py +++ b/unilabos/resources/graphio.py @@ -643,8 +643,8 @@ def resource_bioyond_to_plr(bioyond_materials: list[dict], type_mapping: Dict[st for detail in material["detail"]: number = ( (detail.get("z", 0) - 1) * plr_material.num_items_x * plr_material.num_items_y - + (detail.get("x", 0) - 1) * plr_material.num_items_x - + (detail.get("y", 0) - 1) + + (detail.get("y", 0) - 1) * plr_material.num_items_y + + (detail.get("x", 0) - 1) ) bottle = plr_material[number] if detail["typeName"] in type_mapping: