Hello, I'm seeing this error a lot on my server logs, any fix for this?
Here are the logs:
05:15 [Error] Failed to call hook 'OnPlayerRespawn' on plugin 'AntiOfflineRaid v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.AntiOfflineRaid.UpdateLastOnline (System.UInt64 playerId, System.Boolean hasMoved) [0x00000] in <6ee9fbc794264e919aad01f709a405fc>:0
at Oxide.Plugins.AntiOfflineRaid.OnPlayerRespawn (BasePlayer player) [0x00000] in <6ee9fbc794264e919aad01f709a405fc>:0
at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x006f2] in <6ee9fbc794264e919aad01f709a405fc>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0
05:15 [Error] Failed to call hook 'OnPlayerSleepEnded' on plugin 'AntiOfflineRaid v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.AntiOfflineRaid.UpdateLastOnline (System.UInt64 playerId, System.Boolean hasMoved) [0x00000] in <6ee9fbc794264e919aad01f709a405fc>:0
at Oxide.Plugins.AntiOfflineRaid.OnPlayerSleepEnded (BasePlayer player) [0x00000] in <6ee9fbc794264e919aad01f709a405fc>:0
at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00720] in <6ee9fbc794264e919aad01f709a405fc>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0