Jump to content

plugin compile problem on Carbon

Closed 1.4.7 1.4.9

Hey when loading your Plugin ill get this error.

 

Failed compiling '/home/container/carbon/plugins/OxidationMetadata.cs':
  1. A value of type 'void' may not be assigned. [CS8209]
     (OxidationMetadata 6 line 79)

Share this comment


Link to comment

This seems to be an issue with Carbon for Interface.Oxide.UnloadPlugin, the signature on Oxide is "bool Interface.Oxide.UnloadPlugin" and on Carbon it's "void Interface.Oxide.UnloadPlugin".

In the meanwhile search for "_ = Interface.Oxide.UnloadPlugin(Name);" and replace it with "Interface.Oxide.UnloadPlugin(Name);"

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.1k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.