NullReferenceException at ItemSpawnerFixed
In response to JawsChannelTv ():

https://gyazo.com/a05e17a9433d0628a018893355b95a18
I cannot reproduce the error. Could You perform few actions to tell me if it is really a plugin problem:
  • Make sure oxide, plugin and server are updated to the latest version
  • Make sure plugin's cfg file is not corrupt (Best way is to delete it and let plugin create a new one)
  • If the problem still exists (which is unlikely)- tell me what exactly cause it (NPC type, held weapon etc.)
In response to 2CHEVSKII ():
I cannot reproduce the error. Could You perform few actions to tell me if it is really a plugin prob...
I removed the config and reloaded a new one. It was working fine with default settings the config had generated. Once I disabled the meds drop and ammo drop it started throwing that error again. I have the most recent version of Oxide. The older version of this plug worked fine. This new version doesn't seem to like me lol.
@2CHEVSKII, should be null checking this before using its result:
heldEntity.GetItem()
In response to Wulf ():
@2CHEVSKII, should be null checking this before using its result:heldEntity.GetItem()
Thanks, Wulf. Updated, should work fine now.
In response to 2CHEVSKII ():
Thanks, Wulf. Updated, should work fine now.
Thanks @Wulf @2CHEVSKII
Locked automatically