mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Merge pull request #2443 from Haselnussbomber/auto-update-on-free-trial
Some checks are pending
Some checks are pending
Fix systems not working on the Free Trial
This commit is contained in:
commit
5290e191a1
2 changed files with 4 additions and 6 deletions
|
|
@ -249,7 +249,8 @@ internal sealed class ClientState : IInternalDisposableService, IClientState
|
|||
ConditionFlag.NormalConditions,
|
||||
ConditionFlag.Jumping,
|
||||
ConditionFlag.Mounted,
|
||||
ConditionFlag.UsingFashionAccessory]);
|
||||
ConditionFlag.UsingFashionAccessory,
|
||||
ConditionFlag.OnFreeTrial]);
|
||||
|
||||
blockingFlag = blockingConditions.FirstOrDefault();
|
||||
return blockingFlag == 0;
|
||||
|
|
|
|||
|
|
@ -491,13 +491,10 @@ internal class AutoUpdateManager : IServiceType
|
|||
|
||||
private bool CanUpdateOrNag()
|
||||
{
|
||||
var condition = Service<Condition>.Get();
|
||||
var clientState = Service<ClientState>.Get();
|
||||
return this.IsPluginManagerReady() &&
|
||||
!this.dalamudInterface.IsPluginInstallerOpen &&
|
||||
condition.OnlyAny(ConditionFlag.NormalConditions,
|
||||
ConditionFlag.Jumping,
|
||||
ConditionFlag.Mounted,
|
||||
ConditionFlag.UsingFashionAccessory);
|
||||
clientState.IsClientIdle();
|
||||
}
|
||||
|
||||
private bool IsPluginManagerReady()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue