I am getting this error after todays update "Error while compiling: VendingManager.cs(1210,19): error CS1501: No overload for method `OnDeployed' takes `2' arguments"
No overload for method `OnDeployed' takes `2' argumentsFixed
yes me too...
me too...
Does anyone still manage this plugin?
Merged post
As it turns out copy/paste had this same issue a year ago and the fix was to add an additional null just like in this one.
now it's saying 2 arguments instead of 1, so i tried adding a second null and it fixed it.
Search for: OnDeploy in VendingManager.cs
You should see this line:
l.OnDeployed(vm, null);
Append a second null like this:
l.OnDeployed(vm, null, null);
Reload the plugin and everything should work. It is what was changed in copy/paste for the update.
@Kage
You nailed it. Doing a simple search and adding the second "null" fixed it.
As a result of today's update this plugin is no longer working. This is the following error I get when attempting to reload the plugin.
Error while compiling: VendingManager.cs(1210,19): error CS1501: No overload for method `OnDeployed' takes `2' arguments
Thanks,
Tim
Thanks, that fix worked
Kage
Does anyone still manage this plugin?
Merged postAs it turns out copy/paste had this same issue a year ago and the fix was to add an additional null just like in this one.
now it's saying 2 arguments instead of 1, so i tried adding a second null and it fixed it.
Search for: OnDeploy in VendingManager.cs
You should see this line:l.OnDeployed(vm, null);
Append a second null like this:
l.OnDeployed(vm, null, null);
Reload the plugin and everything should work. It is what was changed in copy/paste for the update.
tks...
The plugin has been updated.
Locked automatically