mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-08 03:37:45 +00:00
Use discardItem instead of dropInventoryItem
This commit is contained in:
parent
36554bf1f3
commit
347141f1cd
1 changed files with 1 additions and 1 deletions
|
@ -86,5 +86,5 @@ void ItemAction::handleMountItem()
|
|||
auto player = getSourceChara()->getAsPlayer();
|
||||
|
||||
player->unlockMount( m_itemAction->data().Calcu0Arg[ 0 ] );
|
||||
player->dropInventoryItem( static_cast< Common::InventoryType >( m_itemSourceContainer ), static_cast< uint8_t >( m_itemSourceSlot ) );
|
||||
player->discardItem( m_itemSourceContainer, m_itemSourceSlot );
|
||||
}
|
Loading…
Add table
Reference in a new issue