Using deprecated hook 'OnConsumeFuel'Fixed
@K1lly0u: If you are interested, I could implement the fix on your behalf. And send it to you for your approval. To save you the effort to implement it yourself. Please let me know if you are interested.
If you would like to fix this issue on your own you can open NightLantern.cs in a text editor
use CTRL+F and search for "OnConsumeFuel"
Then replace all instances of "OnConsumeFuel" with "OnFuelConsume"
There should be 4 things to change in total.
Obviously, do this at your own risk. If you do it properly and don't replace something other than what you're supposed to it will work just fine.
Thank you!MNGO
If you would like to fix this issue on your own you can open NightLantern.cs in a text editor
use CTRL+F and search for "OnConsumeFuel"
Then replace all instances of "OnConsumeFuel" with "OnFuelConsume"There should be 4 things to change in total.
Obviously, do this at your own risk. If you do it properly and don't replace something other than what you're supposed to it will work just fine.
Thank you!MNGO
If you would like to fix this issue on your own you can open NightLantern.cs in a text editor
use CTRL+F and search for "OnConsumeFuel"
Then replace all instances of "OnConsumeFuel" with "OnFuelConsume"There should be 4 things to change in total.
Obviously, do this at your own risk. If you do it properly and don't replace something other than what you're supposed to it will work just fine.
Please let there be an update for this, I really like this plugin: [Oxide] 03:28 [Warning] 'NightLantern v2.0.98' is using deprecated hook 'OnConsumeFuel', which will stop working on Monday, 01 March 2021. Please ask the author to update to 'OnFuelConsume(BaseOven oven, Item fuel, ItemModBurnable burnable)' sending out a sos...
Not sure if this has been raised yet, however I am seeing the following in my websocket rcon
'NightLantern v2.0.98' is using deprecated hook 'OnConsumeFuel', which will stop working on Monday, 01 March 2021. Please ask the author to update to 'OnFuelConsume(BaseOven oven, Item fuel, ItemModBurnable burnable)'
yep needs to get updated
Read up > there's a manual fix.
Hey,
is there any possibility to update the plugin to prevent from stop working?
I like this Plugin much.
Otherwise, is there an alternative to this plugin?
BR
Got this from console.
'NightLantern v2.0.98' is using deprecated hook 'OnConsumeFuel', which will stop working on Thursday, 01 July 2021. Please ask the author to update to 'OnFuelConsume(BaseOven oven, Item fuel, ItemModBurnable burnable)'
any news on a patch? Scroll up and the patch is there just the onwer of this file hasnt accepted the changes?
Ive applied the fix and works fine.
Regards,
Byza
Less than a month till the hook is deprecated :(
I fixed it manually but maybe we get an official update soon?
I keep seeing this in my daily log file lately:
[Warning] 'NightLantern v2.0.98' is using deprecated hook 'OnConsumeFuel', which will stop working on Thursday, 01 July 2021. Please ask the author to update to 'OnFuelConsume(BaseOven oven, Item fuel, ItemModBurnable burnable)'
- 1
- 2