Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnregisterRecipe doesnt work? #5

Open
rocketrefrigerator opened this issue Jan 8, 2022 · 0 comments
Open

UnregisterRecipe doesnt work? #5

rocketrefrigerator opened this issue Jan 8, 2022 · 0 comments

Comments

@rocketrefrigerator
Copy link

rocketrefrigerator commented Jan 8, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant