Misc cleanups
This commit is contained in:
@@ -660,7 +660,7 @@ namespace Game.Achievements
|
||||
|
||||
public override string GetOwnerInfo()
|
||||
{
|
||||
return $"{_owner.GetGUID().ToString()} {_owner.GetName()}";
|
||||
return $"{_owner.GetGUID()} {_owner.GetName()}";
|
||||
}
|
||||
|
||||
Player _owner;
|
||||
|
||||
@@ -2210,8 +2210,8 @@ namespace Game.Achievements
|
||||
return false;
|
||||
case CriteriaAdditionalCondition.ItemModifiedAppearance: // 200
|
||||
{
|
||||
var hasAppearance = referencePlayer.GetSession().GetCollectionMgr().HasItemAppearance(reqValue);
|
||||
if (!hasAppearance.PermAppearance || hasAppearance.TempAppearance)
|
||||
var (PermAppearance, TempAppearance) = referencePlayer.GetSession().GetCollectionMgr().HasItemAppearance(reqValue);
|
||||
if (!PermAppearance || TempAppearance)
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user