mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-28 20:27:46 +00:00
Merge branch 'add_item_dupe_fix' into develop_c
This commit is contained in:
commit
7da25b33ef
1 changed files with 0 additions and 2 deletions
|
@ -594,9 +594,7 @@ Sapphire::ItemPtr Sapphire::Entity::Player::addItem( uint32_t catalogId, uint32_
|
||||||
newStackSize = maxStack;
|
newStackSize = maxStack;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
|
||||||
quantity = 0;
|
quantity = 0;
|
||||||
}
|
|
||||||
|
|
||||||
item->setStackSize( newStackSize );
|
item->setStackSize( newStackSize );
|
||||||
writeItem( item );
|
writeItem( item );
|
||||||
|
|
Loading…
Add table
Reference in a new issue