diff --git a/src/servers/sapphire_zone/Territory/Land.cpp b/src/servers/sapphire_zone/Territory/Land.cpp index 31071b76..84bd215f 100644 --- a/src/servers/sapphire_zone/Territory/Land.cpp +++ b/src/servers/sapphire_zone/Territory/Land.cpp @@ -356,7 +356,7 @@ bool Sapphire::Land::setPreset( uint32_t itemId ) return true; } -Sapphire::ItemContainerPtr Sapphire::Land::getInventory( uint16_t inventoryType ) const +Sapphire::ItemContainerPtr Sapphire::Land::getItemContainer( uint16_t inventoryType ) const { auto container = m_landInventoryMap.find( inventoryType ); if( container == m_landInventoryMap.end() ) diff --git a/src/servers/sapphire_zone/Territory/Land.h b/src/servers/sapphire_zone/Territory/Land.h index b509ea07..7d3ee6a1 100644 --- a/src/servers/sapphire_zone/Territory/Land.h +++ b/src/servers/sapphire_zone/Territory/Land.h @@ -61,7 +61,7 @@ namespace Sapphire void setLandTag( uint8_t slot, uint8_t tag ); uint8_t getLandTag( uint8_t slot ); - ItemContainerPtr getInventory( uint16_t inventoryType ) const; + ItemContainerPtr getItemContainer( uint16_t inventoryType ) const; private: uint32_t convertItemIdToHousingItemId( uint32_t itemId );