forked from mirror/openmw-tes3mp
Fix arguments for OnPlayerChangeSpellbook in server Networking
This commit is contained in:
parent
869b32383e
commit
68727751ed
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
|
|||
DEBUG_PRINTF("ID_GAME_SPELLBOOK\n");
|
||||
myPacket->Read(player);
|
||||
|
||||
Script::Call<Script::CallbackIdentity("OnPlayerChangeSpellbook")>(player->getId(), player->packetSpells.action);
|
||||
Script::Call<Script::CallbackIdentity("OnPlayerChangeSpellbook")>(player->getId(), player->spellbookChanges.action);
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue