Core/Unit: Make HandleEmoteCommand typesafe
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e3c612c808bca7601b32ce5dca28b204e652773)
This commit is contained in:
@@ -2817,7 +2817,7 @@ namespace Scripts.Spells.Generic
|
||||
|
||||
void HandleDummy(uint effIndex)
|
||||
{
|
||||
GetCaster().HandleEmoteCommand(EmoteArray[RandomHelper.URand(0, 2)]);
|
||||
GetCaster().HandleEmoteCommand(EmoteArray.SelectRandom());
|
||||
}
|
||||
|
||||
public override void Register()
|
||||
|
||||
Reference in New Issue
Block a user