Hey,
this plugin seems to doesnt work anymore. I created a custom item and when i try to give it to me nothing happens and a console error appears:
Failed to call hook 'ConsoleCommandGive' on plugin 'CustomizableProtection v2.1.11' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.CustomizableProtection.ConsoleCommandGive (ConsoleSystem+Arg arg) [0x0019e] in <eb8a622c4bc54ceeaf23a8ab8f89489f>:0
at Oxide.Plugins.CustomizableProtection.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00956] in <eb8a622c4bc54ceeaf23a8ab8f89489f>: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 <8cb2d664f1574f2b96d53f1c1869d96a>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <8cb2d664f1574f2b96d53f1c1869d96a>:0
{
"Shortname": "legendary.facemask",
"SkinId": 736653,
"Name": "Legendary Mask",
"Description": "",
"Display the cooking icon?": false,
"UI Settings": {
"Name Color (or use <color></color> in name)": "1 1 1 1",
"Frame Color": "0.94 0.75 0.15 1"
},
"Protection": {
"Hunger": 0.0,
"Thirst": 0.0,
"Cold": 0.0,
"Drowned": 0.0,
"Heat": 0.0,
"Bleeding": 0.0,
"Poison": 0.0,
"Suicide": 0.0,
"Bullet": 50.0,
"Slash": 70.0,
"Blunt": 70.0,
"Fall": 0.0,
"Radiation": 0.0,
"Bite": 8.33,
"Stab": 70.0,
"Explosion": 8.33,
"RadiationExposure": 0.0,
"ColdExposure": -4.17,
"ElectricShock": 0.0,
"Arrow": 50.0,
"BeeSting": 0.0,
"OxygenExposure": 0.0
}
}
i also noticed that the default item definitions will break the function of items created by EpicLoot, maybe you could add support for that? with CustomizableWeapons it does work well.. But this issue isnt related to the one above, even with EpicLoot disabled the error appears and it doesnt work.
Thanks in advance!
if you need any further information, let me know.