1
Fork 0
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:
collett 2020-01-03 01:32:04 +09:00
commit 7da25b33ef

View file

@ -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 );