public void HandlePlayerTarget(WorldClient client, PlayerInTargetPacket packet) { var player = _mapProvider.Map.GetPlayer(packet.TargetId); if (player is null) { return; } _attackManager.Target = player; _packetFactory.SendPlayerInTarget(client, player); }
private void HandlePlayerInTarget(PlayerInTargetPacket packet) { Target = Map.GetPlayer(packet.TargetId); }