Hello,
Receiving this error, unsure what is causing it as it happens with or without anyone online.
Here is my config file and the error.:
(14:39:17) | [Item Perks] Perk count was 0 so we are just picking a random perk.
(14:39:17) | Failed to call hook 'CanLootEntity' on plugin 'ItemPerks v1.0.29' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ItemPerks.GetRandomPerkIgnoreCriteria (System.Collections.Generic.List`1[T] existing_perks) [0x000be] in <8513680e685441e589751cd590574532>:0
at Oxide.Plugins.ItemPerks.RollPerk (System.String shortname, System.Collections.Generic.List`1[T] existing_perks) [0x001b4] in <8513680e685441e589751cd590574532>:0
at Oxide.Plugins.ItemPerks.CreateItem (System.Boolean crafted, System.String shortname, System.UInt64 skin, System.Collections.Generic.List`1[T] perks) [0x0011d] in <8513680e685441e589751cd590574532>:0
at Oxide.Plugins.ItemPerks.HandleItemRoll (BasePlayer player, LootContainer container) [0x00172] in <8513680e685441e589751cd590574532>:0
at Oxide.Plugins.ItemPerks.CanLootEntity (BasePlayer player, LootContainer container) [0x00070] in <8513680e685441e589751cd590574532>:0
at Oxide.Plugins.ItemPerks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x03bb4] in <8513680e685441e589751cd590574532>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <15f61ddda771464d8246ebdce8ff4811>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <15f61ddda771464d8246ebdce8ff4811>:0
ItemPerks.json