Scripts/Commands: Implemented .debug play objectsound command
Port From (https://github.com/TrinityCore/TrinityCore/commit/95893cf53cdc9ab2ca3ec26cfd85793e63e97317)
This commit is contained in:
@@ -2960,7 +2960,7 @@ namespace Game.Entities
|
||||
SendMessageToSet(new PlayMusic(musicId), true);
|
||||
}
|
||||
|
||||
void PlayObjectSound(uint soundKitId, ObjectGuid targetObjectGUID, Player target = null, int broadcastTextId = 0)
|
||||
public void PlayObjectSound(uint soundKitId, ObjectGuid targetObjectGUID, Player target = null, int broadcastTextId = 0)
|
||||
{
|
||||
PlayObjectSound pkt = new();
|
||||
pkt.TargetObjectGUID = targetObjectGUID;
|
||||
|
||||
Reference in New Issue
Block a user