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

Commit

Permalink
Update Service.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaksuhn committed Feb 6, 2024
1 parent e59b3f1 commit 19b7b9d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions RotationSolver.Basic/Service.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ namespace RotationSolver.Basic;
internal class Service : IDisposable
{
public const string COMMAND = "/rotation", USERNAME = "Jaksuhn", REPO = "RotationSolver", BRANCH = "testing";

static bool _canMove = true;
internal static unsafe bool CanMove
{
set
{
var realCanMove = value || DataCenter.NoPoslock;
if (_canMove == realCanMove) return;
_canMove = realCanMove;
}
}

public static float CountDownTime => Countdown.TimeRemaining;
public static PluginConfig Config { get; set; } = new PluginConfig();

Expand Down

0 comments on commit 19b7b9d

Please sign in to comment.