forked from aly/qstbak
muffin v7.5.0
This commit is contained in:
parent
afafd5e377
commit
a6481e7b9a
67 changed files with 4281 additions and 2372 deletions
|
|
@ -77,13 +77,13 @@ internal static class AetheryteShortcut
|
|||
|
||||
private bool ShouldSkipTeleport()
|
||||
{
|
||||
ushort territoryType = clientState.TerritoryType;
|
||||
uint territoryType = clientState.TerritoryType;
|
||||
if (base.Task.Step != null)
|
||||
{
|
||||
SkipAetheryteCondition skipAetheryteCondition = base.Task.Step.SkipConditions?.AetheryteShortcutIf ?? new SkipAetheryteCondition();
|
||||
if (skipAetheryteCondition != null && !skipAetheryteCondition.Never)
|
||||
{
|
||||
if (skipAetheryteCondition.InTerritory.Contains(territoryType))
|
||||
if (skipAetheryteCondition.InTerritory.Contains((ushort)territoryType))
|
||||
{
|
||||
logger.LogInformation("Skipping aetheryte teleport due to SkipCondition (InTerritory)");
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue