Skip to content

Commit 17f4daa

Browse files
committed
bug: remove demo hook
1 parent 57cad58 commit 17f4daa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/FiveStackPlugin.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ public override void Load(bool hotReload)
8080

8181
_logger.LogInformation($"Server ID: {_environmentService.GetServerId()}");
8282

83-
RecordEnd.Hook(RecordEndHookResult, HookMode.Post);
8483
ConnectClientFunc.Hook(ConnectClientHook, HookMode.Pre);
8584

8685
ListenForMapChange();
@@ -104,7 +103,6 @@ public override void Load(bool hotReload)
104103
public override void Unload(bool hotReload)
105104
{
106105
_pingTimer?.Dispose();
107-
RecordEnd.Unhook(RecordEndHookResult, HookMode.Post);
108106
ConnectClientFunc.Unhook(ConnectClientHook, HookMode.Pre);
109107

110108
Marshal.FreeCoTaskMem(PasswordBuffer);

0 commit comments

Comments
 (0)