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

Method Clear

src/CraftingRecipes.cpp:121–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119
120
121void cCraftingGrid::Clear(void)
122{
123 for (int y = 0; y < m_Height; y++) for (int x = 0; x < m_Width; x++)
124 {
125 m_Items[x + m_Width * y].Empty();
126 }
127}
128
129
130

Callers 2

ConsumeGridMethod · 0.45
GetRecipeMethod · 0.45

Calls 1

EmptyMethod · 0.80

Tested by

no test coverage detected