diff options
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r-- | src/nodedef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp index 607107264..383edae36 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -1355,7 +1355,7 @@ void NodeDefManager::eraseIdFromGroups(content_t id) // Get the group items vector. std::vector<content_t> &items = iter_groups->second; - // Remove any occurence of the id in the group items vector. + // Remove any occurrence of the id in the group items vector. items.erase(std::remove(items.begin(), items.end(), id), items.end()); // If group is empty, erase its vector from the map. |