BohemiaInteractive/DayZ-Samples

UnregisterRecipe doesnt work?

Opened this issue · 0 comments

https://github.com/BohemiaInteractive/DayZ-Samples/blob/master/Test_Crafting/Scripts/4_World/PluginRecipesManagerBase.c

Ive tried to unregister fence kit with

modded class PluginRecipesManagerBase extends PluginBase
{
override void RegisterRecipies()
{
super.RegisterRecipies();
UnregisterRecipe("CraftFenceKit");
UnregisterRecipe("CraftWatchtowerKit");
UnregisterRecipe("CraftTerritoryFlagKit");
}
};

But still can craft it.