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