Type `EntityFuelSystem' does not contain a definition for `GetFuelContainer'Fixed

[Error] Error while compiling: CarSpawnSettings.cs(155,53): error CS1061: Type `EntityFuelSystem' does not contain a definition for `GetFuelContainer' and no extension method `GetFuelContainer' of type `EntityFuelSystem' could be found. Are you missing an assembly reference?

This error is due to a Rust change that we meant to fix for this update, but missed. The next Oxide update will resolve it.

Do we have an eta till the next oxide build?

Not at the moment, but you can wait for a release, or use test builds.

https://ci.appveyor.com/api/projects/oxidemod/oxide-rust/artifacts/Oxide.Rust-develop.zip?pr=false&branch=develop
https://ci.appveyor.com/api/projects/oxidemod/oxide-rust/artifacts/Oxide.Rust-linux-develop.zip?pr=false&branch=develop

Includes the fuel system exposure fix, some more BaseAIBrain exposures, and 2 hooks for ExcavatorSignalComputer
First link is Windows, second is Linux

Merged post

This should be resolved in the latest Oxide update, thanks!

  • Exposed EntityFuelSystem::GetFuelContainer in Rust for plugins (fixes a lot of vehicle plugins)
Locked automatically