mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-02 01:21:08 -04:00
Fix arguments for OnPlayerChangeSpellbook in server Networking
This commit is contained in:
parent
869b32383e
commit
68727751ed
@ -237,7 +237,7 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
|
|||||||
DEBUG_PRINTF("ID_GAME_SPELLBOOK\n");
|
DEBUG_PRINTF("ID_GAME_SPELLBOOK\n");
|
||||||
myPacket->Read(player);
|
myPacket->Read(player);
|
||||||
|
|
||||||
Script::Call<Script::CallbackIdentity("OnPlayerChangeSpellbook")>(player->getId(), player->packetSpells.action);
|
Script::Call<Script::CallbackIdentity("OnPlayerChangeSpellbook")>(player->getId(), player->spellbookChanges.action);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user