From d92ec20e9ca1ee1a98160b85682547f729d7c428 Mon Sep 17 00:00:00 2001 From: Dev Date: Sat, 13 Jul 2024 12:54:34 +0100 Subject: [PATCH] Fixed issue with `itemFitsInto1By2Slot()` classifying all items as unsuitable for a 1x2 slot --- project/src/generators/PMCLootGenerator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/generators/PMCLootGenerator.ts b/project/src/generators/PMCLootGenerator.ts index 3fcfc5bb..fd5031ad 100644 --- a/project/src/generators/PMCLootGenerator.ts +++ b/project/src/generators/PMCLootGenerator.ts @@ -173,7 +173,7 @@ export class PMCLootGenerator */ protected itemFitsInto1By2Slot(item: ITemplateItem): boolean { - switch (`{${item._props.Width}x${item._props.Height}}`) + switch (`${item._props.Width}x${item._props.Height}`) { case "1x1": case "1x2":