Skip to content

Commit

Permalink
Removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Metious committed Sep 3, 2024
1 parent 369cc8a commit d5b6956
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Nautilus/Patchers/CraftTreePatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ private static void AddCustomTabs(ref CraftTree tree, CraftTree.Type type)
continue;
}

/*if (currentNode.nodes.Any(node => node is CraftNode craftNode && craftNode.action == TreeAction.Craft))
{
InternalLogger.Error($"Cannot add tab: {customNode.Name} to {customNode.Scheme} at {string.Join("/", customNode.Path)} as it is being added to a parent node that contains crafting nodes. {string.Join(", ", currentNode.nodes.Where(node => node is CraftNode craftNode && craftNode.action == TreeAction.Craft).Select(x => x.id))} ");
continue;
}*/

// Add the new tab node.
currentNode.AddNode(new TreeNode[]
{
Expand Down

0 comments on commit d5b6956

Please sign in to comment.