mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-10-18 04:47:04 +02:00
Using type instance
This commit is contained in:
parent
c3dd3bed10
commit
1882b14657
2 changed files with 4 additions and 6 deletions
|
|
@ -16,7 +16,6 @@ namespace CS2_SimpleAdmin;
|
|||
public partial class CS2_SimpleAdmin: BasePlugin, IPluginConfig<CS2_SimpleAdminConfig>
|
||||
{
|
||||
public static CS2_SimpleAdmin Instance { get; private set; } = null;
|
||||
public static BasePlugin? _plugin = null;
|
||||
|
||||
public static IStringLocalizer? _localizer;
|
||||
public static Dictionary<string, int> voteAnswers = new Dictionary<string, int>();
|
||||
|
|
@ -47,7 +46,6 @@ public partial class CS2_SimpleAdmin: BasePlugin, IPluginConfig<CS2_SimpleAdminC
|
|||
public override void Load(bool hotReload)
|
||||
{
|
||||
Instance = this;
|
||||
_plugin = this;
|
||||
|
||||
registerEvents();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue