Quicksmelt fix for the Cooking Workbench

to "fix" the part and be able to use the Cooking Workbench i created a small Change in the .cs file and tested it. It works without any Problems and no Errors in Console.

private void OnEntitySpawned(BaseNetworkable entity)
{
	if (entity is BaseOven || entity is Workbench)
	{
		if (entity.gameObject.GetComponent<FurnaceController>() == null)
		{
			entity.gameObject.AddComponent<FurnaceController>();
		}
	}
}

private object OnOvenToggle(StorageContainer entity, BasePlayer player)
{
	if (entity == null || entity is BaseFuelLightSource)
		return null;
	if (entity.needsBuildingPrivilegeToUse && !player.CanBuild())
		return null;

	PrintDebug($"OnOvenToggle called for {entity.ShortPrefabName}");

	var component = entity.gameObject.GetComponent<FurnaceController>();
	if (component == null) return null;

	var canUse = CanUse(entity.OwnerID) || CanUse(player.userID);

	if (entity.IsOn())
	{
		component.StopCooking();
	}
	else
	{
		if (canUse)
		{
			component.StartCooking();
		}
		else
		{
			PrintDebug($"No permission ({player.userID})");
			return null;
		}
	}

	return false;
}

THIS ONLY WORKS for the Speed Multiplier and White/Blacklist!!! Not the Fuel Consumption!

Why even - CookingWorkbenchBbq inherits BaseOven, so? Your "entity is Workbench" seems a little odd, which AI did you use to do this?

The whole plugin needs updated, electiric furnace still doesn't work with this version. Look at other links for the whitethunder version and try that one first. I don't know why misticos and/or umod team is being so stubborn with this plugin knowing how popular it is.

https://umod.org/community/quick-smelt/55965-how-can-i-get-this-to-work-with-the-cooking-workbench
Some people don't even know the cooking workbench is a mixing table AND a bbq. This plugin would not work for the mixing table side.