mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 14:57:44 +00:00
Use zonepacketnew instead
This commit is contained in:
parent
0fa3f93ce9
commit
351dd9792a
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ void Core::Network::GameConnection::tellHandler( const Packets::GamePacket& inPa
|
||||||
void Core::Network::GameConnection::performNoteHandler( const Packets::GamePacket& inPacket,
|
void Core::Network::GameConnection::performNoteHandler( const Packets::GamePacket& inPacket,
|
||||||
Entity::Player& player )
|
Entity::Player& player )
|
||||||
{
|
{
|
||||||
GamePacketNew< FFXIVIpcPerformNote, ServerZoneIpcType > performPacket( player.getId() );
|
ZoneChannelPacket< FFXIVIpcPerformNote > performPacket( player.getId() );
|
||||||
|
|
||||||
auto inVal = inPacket.getDataAt( 0x20 );
|
auto inVal = inPacket.getDataAt( 0x20 );
|
||||||
memcpy( &performPacket.data().data[0], inVal, 32 );
|
memcpy( &performPacket.data().data[0], inVal, 32 );
|
||||||
|
|
Loading…
Add table
Reference in a new issue