forked from liza/Questionable
Compare commits
No commits in common. "NeverPortInSameZone" and "master" have entirely different histories.
NeverPortI
...
master
@ -53,8 +53,6 @@ internal sealed class Configuration : IPluginConfiguration
|
||||
{
|
||||
public bool DebugOverlay { get; set; }
|
||||
public bool NeverFly { get; set; }
|
||||
|
||||
public bool NeverPortInSameZone { get; set; }
|
||||
public bool AdditionalStatusInformation { get; set; }
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,6 @@ internal static class AetheryteShortcut
|
||||
IClientState clientState,
|
||||
IChatGui chatGui,
|
||||
ICondition condition,
|
||||
Configuration configuration,
|
||||
AetheryteData aetheryteData) : TaskExecutor<Task>
|
||||
{
|
||||
private bool _teleported;
|
||||
@ -155,7 +154,7 @@ internal static class AetheryteShortcut
|
||||
{
|
||||
if (!skipConditions.Never)
|
||||
{
|
||||
if (skipConditions is { InSameTerritory: true } || configuration.Advanced.NeverPortInSameZone)
|
||||
if (skipConditions is { InSameTerritory: true })
|
||||
{
|
||||
logger.LogInformation("Skipping aetheryte teleport due to SkipCondition (InSameTerritory)");
|
||||
return true;
|
||||
|
@ -452,13 +452,6 @@ internal sealed class ConfigWindow : LWindow, IPersistableWindowConfig
|
||||
Save();
|
||||
}
|
||||
|
||||
bool neverPortInSameZone = this._configuration.Advanced.NeverPortInSameZone;
|
||||
if (ImGui.Checkbox("Disable Aetheryte teleport in same zone", ref neverPortInSameZone))
|
||||
{
|
||||
_configuration.Advanced.NeverPortInSameZone = neverPortInSameZone;
|
||||
Save();
|
||||
}
|
||||
|
||||
bool additionalStatusInformation = _configuration.Advanced.AdditionalStatusInformation;
|
||||
if (ImGui.Checkbox("Draw additional status information", ref additionalStatusInformation))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user