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

Commit

Permalink
don't check actions if RS isn't on
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaksuhn committed Dec 11, 2023
1 parent a1a00c7 commit 3c86554
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RotationSolver/Updaters/MajorUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ private unsafe static void FrameworkUpdate(IFramework framework)
SocialUpdater.UpdateSocial();
PreviewUpdater.UpdatePreview();

if (!DataCenter.State) return;

if (Service.Config.GetValue(PluginConfigBool.TeachingMode) && ActionUpdater.NextAction != null)
{
//Sprint action id is 3 however the id in hot bar is 4.
Expand Down

0 comments on commit 3c86554

Please sign in to comment.