NullReferenceException at GiveItemNot An Issue
Ive treid the newest version aswell and it gave me same error. Im on the newest Christmasupdate as of now. But it didnt work the previous update eighter. All perms are setup correctly aswell.


Failed to call hook 'OnItemCraft' on plugin 'InstantCraft v1.2.3' (NullReferenceException: Object reference not set to an instance of an object)
at Item.OnChanged () [0x00022] in <e91594961205464c82a4fe4cc5d7abc0>:0
at Item.MarkDirty () [0x00000] in <e91594961205464c82a4fe4cc5d7abc0>:0
at Item.set_maxCondition (System.Single value) [0x0002c] in <e91594961205464c82a4fe4cc5d7abc0>:0
at Item.Initialize (ItemDefinition template) [0x00010] in <e91594961205464c82a4fe4cc5d7abc0>:0
at ItemManager.Create (ItemDefinition template, System.Int32 iAmount, System.UInt64 skin) [0x00062] in <e91594961205464c82a4fe4cc5d7abc0>:0
at Oxide.Plugins.InstantCraft.GiveItem (BasePlayer player, ItemDefinition def, System.Int32 amount, System.UInt64 skinid) [0x0008f] in <973d72ebd1434e38a27ba0bcd03f82e3>:0
at Oxide.Plugins.InstantCraft.OnItemCraft (ItemCraftTask task) [0x0044e] in <973d72ebd1434e38a27ba0bcd03f82e3>:0
at Oxide.Plugins.InstantCraft.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0005b] in <973d72ebd1434e38a27ba0bcd03f82e3>: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

Hey, thanks for report. Can you tell me what item it was?
In response to Orange ():
Hey, thanks for report. Can you tell me what item it was?
Its any item. Items, Tools, Weapons, everything :/ 
In response to Orange ():
Actual plugin version -> 2.0.5
https://umod.org/plugins/instant-craft#updates
Yeah as i stated i tried that one aswell with same error just different version number. And i tried chaning it back to see if it would work again as it worked before :/
In response to Kenty ():
Yeah as i stated i tried that one aswell with same error just different version number. And i tried...
1. Delete to delete all plugin files (plugin, config, data, lang)
2. Download new plugin version
3. Try
In response to Orange ():
1. Delete to delete all plugin files (plugin, config, data, lang)
2. Download new plugin versio...
So i made a completly new server with the plugins i use plus yours. All fresh configs nothing old. Still same error :/ 

Merged post

Also tried it standalone now and it has same issue standalone aswell.. Idk what wrong with my server lol
In response to Kenty ():
So i made a completly new server with the plugins i use plus yours. All fresh configs nothing old. S...
I tryed on my local server - all ok. What is your server version + oxide version?
Newest. So then its on my side. Its fine. Thanks for the help man :) Ill keep trying as updates get launched :)
Locked automatically