diff --git a/Roles/MusicManager.cs b/Roles/MusicManager.cs
index 51ebb9d..eac55c1 100644
--- a/Roles/MusicManager.cs
+++ b/Roles/MusicManager.cs
@@ -93,7 +93,7 @@ public AudioPlayerBase Play(string musicFile, string npcName, FramePlayer source
/// NPC名称
/// 指定玩家
///
- public AudioPlayerBase Play(string musicFile, string npcName, Player source)
+ public AudioPlayerBase Play(string musicFile, string npcName, FramePlayer source)
{
return Play(musicFile, npcName, new TrackEvent(), source, [], false, 80, false);
}
@@ -204,7 +204,7 @@ public AudioPlayerBase Play(string musicFile, string npcName, TrackEvent trackEv
audioPlayerBase.AudioToPlay = extraPlay.Select((s) => { return s.ExPlayer.UserId; }).ToList();
}
- audioPlayerBase.AudioToPlay.Add(source.UserId);
+ audioPlayerBase.AudioToPlay.Add(source.ExPlayer.UserId);
audioPlayerBase.Enqueue($"{Paths.Plugins}/{Server.Port}/YongAnPluginData/{musicFile}.ogg", 0);
audioPlayerBase.Volume = volume;