Solved Infinite Candles NRE

Please tell me where to send you errors like this one I just noticed in my log.
For now I'm gonna do it here.

Code:
00:14 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'InfiniteCandles v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)

  at Oxide.Plugins.InfiniteCandles.OnEntitySpawned (Candle entity) [0x00000] in <e0360e128f3440238352543f9a1239b7>:0

  at Oxide.Plugins.InfiniteCandles.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0007b] in <e0360e128f3440238352543f9a1239b7>:0

  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0

  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0

  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0

06:07 [Error] Failed to call hook 'OnServerInitialized' on plugin 'InfiniteCandles v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.InfiniteCandles.OnEntitySpawned (Candle entity) [0x00000] in <56e33ba3746a47819355a85e98e76bf0>:0
at Oxide.Plugins.InfiniteCandles.OnServerInitialized () [0x0001c] in <56e33ba3746a47819355a85e98e76bf0>:0
at Oxide.Plugins.InfiniteCandles.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0007e] in <56e33ba3746a47819355a85e98e76bf0>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821

Infinite Candles does not work. Candles disappear after some time.

Thanks for report, @Kleementin , i will check that out

Just wanted to let you know I'm getting this:

Code:
InfiniteCandles was compiled successfully in 3383ms
Failed to call hook 'OnServerInitialized' on plugin 'InfiniteCandles v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.InfiniteCandles.OnEntitySpawned (Candle entity) [0x00000] in <3b00bd5d83444a4ba5cfc53afe49ffc1>:0
  at Oxide.Plugins.InfiniteCandles.OnServerInitialized () [0x0001c] in <3b00bd5d83444a4ba5cfc53afe49ffc1>:0
  at Oxide.Plugins.InfiniteCandles.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0007e] in <3b00bd5d83444a4ba5cfc53afe49ffc1>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
Calling 'OnServerInitialized' on 'InfiniteCandles v1.0.1' took 261ms
Loaded plugin Infinite Candles v1.0.1 by Orange

Best regards!
 
Last edited by a moderator:
Top