Hello fellowers,
Since the last facepunch update this simple function does not work anymore.
Does anyone know the new return params for the changed hook? Is it changed in any way?
Do i have missed a documentation?
Thank you!
private object OnOvenToggle(BaseOven oven, BasePlayer player)
{
//Prevent refinery from being used by non oil professions
if(oven.prefabID == 1057236622 && !player.IPlayer.BelongsToGroup("profession_oil")) { return false; }
return null;
}