mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-22 10:07:44 +00:00
typo
This commit is contained in:
parent
90abb29259
commit
f1c6fe5006
1 changed files with 1 additions and 1 deletions
|
@ -695,7 +695,7 @@ Sapphire::ItemPtr Sapphire::Entity::Player::addItem( ItemPtr itemToAdd, bool sil
|
|||
Sapphire::ItemPtr Sapphire::Entity::Player::addItem( uint32_t catalogId, uint32_t quantity, bool isHq, bool silent, bool canMerge, bool sendLootMessage )
|
||||
{
|
||||
if( catalogId == 0 )
|
||||
return false;
|
||||
return nullptr;
|
||||
auto item = createItem( catalogId, quantity );
|
||||
item->setHq( isHq );
|
||||
return addItem( item, silent, canMerge, sendLootMessage );
|
||||
|
|
Loading…
Add table
Reference in a new issue