mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
typo
This commit is contained in:
parent
031d354bbd
commit
00f0adf620
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