mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 22:37:45 +00:00
Parameters were bad
This commit is contained in:
parent
63b28c7621
commit
08d79593a2
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ void Core::DebugCommandHandler::set( char * data, Core::Entity::PlayerPtr pPlaye
|
||||||
{
|
{
|
||||||
uint32_t slot;
|
uint32_t slot;
|
||||||
uint32_t val;
|
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->setModelForSlot( static_cast<Inventory::EquipSlot>( slot ), val );
|
||||||
pPlayer->sendModel();
|
pPlayer->sendModel();
|
||||||
|
|
Loading…
Add table
Reference in a new issue