Misc Fixes
This commit is contained in:
@@ -626,14 +626,14 @@ namespace Game
|
||||
|
||||
Unit unit = Global.ObjAccessor.GetUnit(GetPlayer(), packet.Target);
|
||||
|
||||
GetPlayer().UpdateCriteria(CriteriaTypes.DoEmote, (uint)packet.SoundIndex, 0, 0, unit);
|
||||
GetPlayer().UpdateCriteria(CriteriaTypes.DoEmote, (uint)packet.EmoteID, 0, 0, unit);
|
||||
|
||||
// Send scripted event call
|
||||
if (unit)
|
||||
{
|
||||
Creature creature = unit.ToCreature();
|
||||
if (creature)
|
||||
creature.GetAI().ReceiveEmote(GetPlayer(), (TextEmotes)packet.SoundIndex);
|
||||
creature.GetAI().ReceiveEmote(GetPlayer(), (TextEmotes)packet.EmoteID);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -151,6 +151,9 @@ namespace Game
|
||||
if (guild.GetLeaderGUID() == player.GetGUID())
|
||||
{
|
||||
LFGuildSettings settings = Global.GuildFinderMgr.GetGuildSettings(guild.GetGUID());
|
||||
if (settings == null)
|
||||
return;
|
||||
|
||||
lfGuildPost.Post.HasValue = true;
|
||||
lfGuildPost.Post.Value.Active = settings.IsListed();
|
||||
lfGuildPost.Post.Value.PlayStyle = settings.GetInterests();
|
||||
|
||||
Reference in New Issue
Block a user