Thanks for this amazing and much needed HumanNPC expansion!
I'm quite new to it, and after trying the tp function with "taxi" NPCs, I wanted to make a doctor that heals you with the command heal
it wasn't working with the default heal commands, so I download the heal plugin by Wulf.
If I enter the commands myself in the console, everything fine. If I ask the NPC to do it for me:
"healplayer": {
"Command": "healplayer",
"Arrangements": "100",
"OnPlayer": true
},the console returns:
Failed to call hook 'CommandHealPlayer' on plugin 'Heal v3.1.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Heal.HealPlayer (Oxide.Core.Libraries.Covalence.IPlayer target, System.Single amount) [0x00044] in <d9b23bd0da624460833caa00dad8dc96>:0
at Oxide.Plugins.Heal.CommandHealPlayer (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x000bb] in <d9b23bd0da624460833caa00dad8dc96>:0
at Oxide.Plugins.Heal.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00234] in <d9b23bd0da624460833caa00dad8dc96>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0