public void Execute(IRocketPlayer caller, string[] command) { ManageUI.UnLoad(); //Console.WriteLine(ManageUI.Instances == null); Console.WriteLine(); Logger.Log($"InventoryEditor was immediately stoped by {caller.DisplayName} at {DateTime.Now.TimeOfDay}", ConsoleColor.Yellow); Console.WriteLine(); }
protected override void Unload() { cts.Cancel(); if (Refresh.Refreshes != null) { for (byte i = 0; i < Refresh.Refreshes.Length; i++) { Refresh.Refreshes[i].TurnOff(i); } } ManageUI.UnLoad(); }
public void Execute(IRocketPlayer caller, string[] command) { ManageUI.UnLoad(); Console.WriteLine(ManageUI.Instances == null); Logger.Log("Inventory UI stoped", ConsoleColor.Cyan); }