MCPcopy Create free account
hub / github.com/cuberite/cuberite / ClearRecipes

Method ClearRecipes

src/CraftingRecipes.cpp:349–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347
348
349void cCraftingRecipes::ClearRecipes(void)
350{
351 for (cRecipes::iterator itr = m_Recipes.begin(); itr != m_Recipes.end(); ++itr)
352 {
353 delete *itr;
354 }
355 m_Recipes.clear();
356}
357
358
359

Callers

nothing calls this directly

Calls 3

beginMethod · 0.80
endMethod · 0.80
clearMethod · 0.80

Tested by

no test coverage detected