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

This commit is contained in:
Dev 2024-07-13 12:54:34 +01:00
parent 2ea6b658fd
commit d92ec20e9c

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