fix: tools registered to NEI that shouldn't has display NBT (#173)

This commit is contained in:
RiggZh authored and GitHub committed 2025-05-11 11:24:47 -05:00
1 parent e7fd95731e
commit 848656dbad
2 files changed
+22 -10

No files matched your search

@@ -439,7 +439,7 @@ public abstract class ToolCore extends Item implements IEnergyContainerItem, IEq
for (Map.Entry<Integer, tconstruct.library.tools.ToolMaterial> integerToolMaterialEntry : TConstructRegistry.toolMaterials
.entrySet()) {
tconstruct.library.tools.ToolMaterial material = integerToolMaterialEntry.getValue();
buildTool(integerToolMaterialEntry.getKey(), ToolBuilder.defaultToolName(material, this), list);
buildTool(integerToolMaterialEntry.getKey(), null, list);
}
}