diff --git a/src/world/Actor/PlayerInventory.cpp b/src/world/Actor/PlayerInventory.cpp index 4915c279..b1112d47 100644 --- a/src/world/Actor/PlayerInventory.cpp +++ b/src/world/Actor/PlayerInventory.cpp @@ -1084,7 +1084,7 @@ bool Sapphire::Entity::Player::findFirstItemWithId( uint32_t catalogId, for( const auto& item : container->getItemMap() ) { - if(( item.second && item.second->getId() != catalogId ) || !item.second ) + if( ( item.second && item.second->getId() != catalogId ) || !item.second ) continue; location = std::make_pair( bagId, item.first ); @@ -1094,4 +1094,4 @@ bool Sapphire::Entity::Player::findFirstItemWithId( uint32_t catalogId, } return false; -} \ No newline at end of file +}