Merge pull request #1019 from EmosewaMC/inventoryTypeCorrections

Correct incorrect inventory types
This commit is contained in:
Gie "Max" Vanommeslaeghe 2023-04-23 12:49:43 +02:00 committed by GitHub
commit de1ddd3125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,9 +244,9 @@ eInventoryType Inventory::FindInventoryTypeForLot(const LOT lot) {
return PROPERTY_DEEDS;
case eItemType::MODEL:
case eItemType::VEHICLE:
case eItemType::PET_INVENTORY_ITEM:
case eItemType::LOOT_MODEL:
case eItemType::LUP_MODEL:
case eItemType::VEHICLE:
case eItemType::MOUNT:
return MODELS;
@ -263,9 +263,8 @@ eInventoryType Inventory::FindInventoryTypeForLot(const LOT lot) {
case eItemType::CHEST:
case eItemType::EGG:
case eItemType::PET_FOOD:
case eItemType::PET_INVENTORY_ITEM:
case eItemType::PACKAGE:
case eItemType::LUP_MODEL:
return ITEMS;
case eItemType::QUEST_OBJECT: