Fix a potential movement issue if you're close to the target but in another zone
This commit is contained in:
parent
03c01b827a
commit
8ec3583ffc
@ -91,6 +91,10 @@ internal static class Move
|
||||
var position = clientState.LocalPlayer?.Position ?? new Vector3();
|
||||
float actualDistance = (position - Destination).Length();
|
||||
|
||||
// this may otherwise sometimes skip a move step
|
||||
if (Step.AethernetShortcut != null || Step.AetheryteShortcut != null)
|
||||
actualDistance = float.MaxValue;
|
||||
|
||||
if (Step.Mount == true)
|
||||
yield return serviceProvider.GetRequiredService<MountTask>()
|
||||
.With(Step.TerritoryId, MountTask.EMountIf.Always);
|
||||
|
@ -1,6 +1,6 @@
|
||||
<Project Sdk="Dalamud.NET.Sdk/9.0.2">
|
||||
<PropertyGroup>
|
||||
<Version>1.9</Version>
|
||||
<Version>1.10</Version>
|
||||
<OutputPath>dist</OutputPath>
|
||||
<PathMap Condition="$(SolutionDir) != ''">$(SolutionDir)=X:\</PathMap>
|
||||
</PropertyGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user