Error while compiling: MonumentAddons.cs(2998,50): error CS0039: Cannot convert type `NPCPlayer' to `Oxide.Plugins.HumanNPC' via a built-in conversionFixed

hi there,
i dont know if this is a problem, but we are using Human NPCs and bandit_shopkeepers + shopkeeper_vm_invis. Now the error
Error while compiling: MonumentAddons.cs(2998,50): error CS0039: Cannot convert type `NPCPlayer' to `Oxide.Plugins.HumanNPC' via a built-in conversion
apperas in the console..?

thx in advance

This happens on server boot if you have HumanNPC loaded, due to a name conflict between that plugin and a vanilla Rust class. It's an annoying problem that many plugins have faced if they try to refer to the vanilla Rust class called HumanNPC. I only learned about it recently since I haven't referred to that class in any plugin before. Other plugins have already addressed this, and I recently fixed it in this plugin but have not created a new release for it.

Until the 0.11.0 release, you have two options to fix this issue: 1) Reload the plugin manually each after server boot, or 2) Redownload the plugin to get the prerelease version (it will say 0.10.0 but has the fix).

Every time I restart my server (or on first start after a wipe) I have to manually o.reload MonumentAddons before it will put things in the server. Did something change? Is there a new configuration settting? 

Just redownload the current version of the plugin to fix it.

Awesome, thank you! 

Locked automatically