[CSharp] Started Oxide.Compiler v successfully
Error while compiling BGrade: foreach statement cannot operate on variables of type 'BaseCombatEntity.EntityBuildCost' because 'BaseCombatEntity.EntityBuildCost' does not contain a public instance or extension definition for 'GetEnumerator' | Line: 184, Pos: 44
Getting this error
Broken with Current Server Update
Just sharing this in case it helps anyone.
I've updated BGrade to fix the following compile error after the latest Rust update:
Error while compiling BGrade: foreach statement cannot operate on variables of type 'BaseCombatEntity.EntityBuildCost' because 'BaseCombatEntity.EntityBuildCost' does not contain a public instance or extension definition for 'GetEnumerator' | Line: 184, Pos: 44
You can grab the updated BGrade.cs here:
Hopefully this saves a few people some time until an official update is available.
If you run into any issues or find anything I've missed, let me know and I'll take a look.