Fixed issue with itemFitsInto1By2Slot() classifying all items as unsuitable for a 1x2 slot

(cherry picked from commit d92ec20e9ca1ee1a98160b85682547f729d7c428)
This commit is contained in:
Dev 2024-07-13 12:54:34 +01:00
parent 77b42bfb2f
commit 073797a294

View File

@ -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":