mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
Fix untargeting of client-side npcs
This commit is contained in:
parent
31bd3ffb48
commit
4f90228105
1 changed files with 4 additions and 0 deletions
|
@ -449,6 +449,10 @@ void Sapphire::Network::GameConnection::commandHandler( const Packets::FFXIVARR_
|
||||||
{
|
{
|
||||||
|
|
||||||
uint64_t targetId = param1;
|
uint64_t targetId = param1;
|
||||||
|
|
||||||
|
if( targetId == player.getTargetId() || targetId == 0xE0000000 )
|
||||||
|
targetId = 0;
|
||||||
|
|
||||||
player.changeTarget( targetId );
|
player.changeTarget( targetId );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue