Init the hook
This commit is contained in:
1 parent
6ff1b80641
commit
5dc956b783
1 file changed
+2
@@ -54,6 +54,8 @@ internal class MessageManager : IAsyncDisposable
|
|||||||
internal MessageManager(Plugin plugin)
|
internal MessageManager(Plugin plugin)
|
||||||
{
|
{
|
||||||
Plugin = plugin;
|
Plugin = plugin;
|
||||||
|
Plugin.GameInteropProvider.InitializeFromAttributes(this);
|
||||||
|
|
||||||
Store = new MessageStore(DatabasePath());
|
Store = new MessageStore(DatabasePath());
|
||||||
|
|
||||||
PendingMessageThread = new Thread(() => ProcessPendingMessages(PendingThreadCancellationToken.Token));
|
PendingMessageThread = new Thread(() => ProcessPendingMessages(PendingThreadCancellationToken.Token));
|
||||||
|
|||||||
Reference in new issue
Block a user