1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00

Parameters were bad

This commit is contained in:
amibu 2017-10-02 16:02:28 +02:00
parent 63b28c7621
commit 08d79593a2

View file

@ -258,7 +258,7 @@ void Core::DebugCommandHandler::set( char * data, Core::Entity::PlayerPtr pPlaye
{
uint32_t slot;
uint32_t val;
sscanf( params.c_str(), "%d %d %d", &slot, &val );
sscanf( params.c_str(), "%d %d", &slot, &val );
pPlayer->setModelForSlot( static_cast<Inventory::EquipSlot>( slot ), val );
pPlayer->sendModel();