my players telling me they are crafting the recycler and it takes scrap, gears etc but it ddnt spawned recycler
tested it and yes its not working
tested it and yes its not working
so i tested that now on one of my other servers its working on them
same config
{
"1. Pickup settings:": {
"1. Enabled for personal recyclers (placed by player)": true,
"2. Check ability to build for pickup": true,
"3. Only owner can pickup": false
},
"2. Craft settings:": {
"1. Enabled": true,
"2. Cost (shortname - amount):": {
"scrap": 500,
"metal.fragments": 5000,
"metal.refined": 50,
"gears": 10
}
},
"3. Destroy settings:": {
"1. Check ground for recyclers (destroy on missing)": true,
"2. Give item on destroy recycler": true,
"3. Effects on destroy recycler": [
"assets/bundled/prefabs/fx/item_break.prefab",
"assets/bundled/prefabs/fx/impacts/stab/rock/stab_rock_01.prefab"
]
}
}same plugin version
[04.08.2020 15:34:07] Failed to call hook 'Craft' on plugin 'ExtendedRecycler v1.0.7' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ExtendedRecycler.CreateItem () [0x0001a] in <676623890e804c6a999a440456cef6de>:0
at Oxide.Plugins.ExtendedRecycler.GiveRecycler (BasePlayer player, System.Boolean pickup) [0x00000] in <676623890e804c6a999a440456cef6de>:0
at Oxide.Plugins.ExtendedRecycler.Craft (BasePlayer player) [0x0000c] in <676623890e804c6a999a440456cef6de>:0
at Oxide.Plugins.ExtendedRecycler.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x004dc] in <676623890e804c6a999a440456cef6de>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0