Handle material inventory type

This commit is contained in:
Casper Warden
2023-11-16 23:19:17 +00:00
parent 1651bd3969
commit e5d9d162da
2 changed files with 4 additions and 1 deletions

View File

@@ -328,6 +328,9 @@ export class InventoryItem
case 'person':
item.inventoryType = InventoryType.Person;
break;
case 'material':
item.inventoryType = InventoryType.Material;
break;
default:
console.error('Unknown inventory type: ' + typeString);
}