Type `MiniCopter' does not contain a definition for `fuelStorageInstance'Fixed
Can't seem to figure it out, I have my own version with just added support for almost all vehicles yet it doesn't work. I tried your version too and still no avail... New hook maybe? I can't find anything on it if so.
16:07 [Error] Error while compiling: NoVehicleFuel.cs(45,39): error CS1061: Type `MiniCopter' does not contain a definition for `fuelStorageInstance' and no extension method `fuelStorageInstance' of type `MiniCopter' could be found. Are you missing an assembly reference?
same error but not fix
Based on a fix for SpawnMini, I was able to get the plugin to load by changing this on line 38

                    FuelTank = Boat.fuelStorageInstance.Get(true).GetComponent<StorageContainer>();
                }
                else if (Copter)
                {
                    FuelTank = Copter.fuelStorageInstance.Get(true).GetComponent<StorageContainer>();​


to this

                    FuelTank = Boat.GetFuelSystem()?.fuelStorageInstance.Get(true).GetComponent<StorageContainer>();
                }
                else if (Copter)
                {
                    FuelTank = Copter.GetFuelSystem()?.fuelStorageInstance.Get(true).GetComponent<StorageContainer>();​

but I didn't test it yet.

Merged post

I'm told what I posted isn't working by players on my server.
I tested what you posted and it did work with minicopters but the boats don't

Error while compiling: NoVehicleFuel.cs(46,39): error CS1061: Type `MiniCopter' does not contain a definition for `fuelStorageInstance' and no extension method `fuelStorageInstance' of type `MiniCopter' could be found. Are you missing an assembly reference?

Locked automatically