Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: fixed some bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed May 19, 2023
1 parent c8d79bd commit 8dc381d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion RotationSolver.Basic/Actions/BaseItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public bool IsInCooldown

public uint SortKey { get; }

public float AnimationLockTime => OtherConfiguration.AnimationLockTime.TryGetValue(AdjustedID, out var time) ? time : 1.1f;
public float AnimationLockTime => 1.1f;

public virtual bool IsActionSequencer => false;

Expand Down
1 change: 0 additions & 1 deletion RotationSolver.Basic/Data/ActionEffectSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public unsafe struct ActionEffectSet
public GameObject Source { get; }
public TargetEffect[] TargetEffects { get; }
public float AnimationLock { get; }
public int MyProperty { get; set; }
public ActionEffectSet(uint sourceId, ActionEffectHeader* effectHeader, ActionEffect* effectArray, ulong* effectTargets)
{
Type = effectHeader->actionType;
Expand Down
4 changes: 1 addition & 3 deletions RotationSolver/RotationSolverPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ public RotationSolverPlugin(DalamudPluginInterface pluginInterface)
OtherConfiguration.Init();
_dis.Add(new Watcher());
_dis.Add(new MovingController());

var manager = new LocalizationManager();
_dis.Add(manager);
_dis.Add(new LocalizationManager());
#if DEBUG
LocalizationManager.ExportLocalization();
#endif
Expand Down
3 changes: 1 addition & 2 deletions RotationSolver/UI/OverlayWindow.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Dalamud.Interface;
using ECommons.DalamudServices;
using ECommons.DalamudServices;
using ECommons.GameHelpers;
using RotationSolver.Updaters;

Expand Down

0 comments on commit 8dc381d

Please sign in to comment.