Just started seeing this today. Anyone else getting this?
Failed to call hook 'OnServerInitialized' on plugin 'SpawnMini v2.10.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.SpawnMini.EnableUnlimitedFuel (MiniCopter minicopter) [0x00017] in <35c97d4b8ea1419b827e7962e8a7c476>:0 at Oxide.Plugins.SpawnMini.OnServerInitialized () [0x0005f] in <35c97d4b8ea1419b827e7962e8a7c476>:0 at Oxide.Plugins.SpawnMini.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001c4] in <35c97d4b8ea1419b827e7962e8a7c476>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0
Failed to call hook related to Unlimited Fuel
I haven't seen this exact error reported before. The error happens when trying to enable unlimited fuel for a particular minicopter. Based on the code, it appears that mini may not have a fuel container for some reason. How many times do you see this error? Do you have any plugins installed that might spawn minis or affect fuel containers besides this one?
It would only happen when the plugin loads. There were no issues with the unlimited fuel in game. I've had MiniCopterOptions installed along side it, but first time this has happened. I was able to resolve the issue by commenting out all the fuel modification lines from the MiniCopterOptions plugin. I appreciate the quick response. Love the plugin!