private void Shutdown()
 {
     PluginLog.Log("Disabling Hook");
     started = false;
     Address = null;
     SetHotbarLock.Disable();
     SetHotbarLock = null;
 }
 private void Startup()
 {
     Address = new LockAddressResolver();
     Address.Setup(PluginInterface.TargetModuleScanner);
     PluginLog.Log($"Address Found: {Address.LockFunction.ToInt64():X}");
     SetHotbarLock = new Hook <OnHotbarLock>(Address.LockFunction, new OnHotbarLock(HandleOnHotbarLock));
     SetHotbarLock.Enable();
     PluginLog.Log("Hook Enabled");
     started = true;
 }