Separate names with a comma.
Comments in 'Plugin Development' started by xiaoq, Feb 19, 2016.
Can I unregister a recipe?
Since $recipesLookup is protected, you may need to use reflections to do that. But it is highly discouraged because that means the plugin may break in future versions. Therefore, basically, it is not possible to unregister a recipe.
The proper way to disallow use of a certain recipe is to handle CraftItemEvent.
Cool, CraftItemEvent is working, but I wonder why pocketmine doesn't want developer unreigster it?
Because plugins shouldn't do unrecoverable things.
Well, you just don't need to do that. There is CraftItemEvent.