fix: tools registered to NEI that shouldn't has display NBT

This commit is contained in:
RiggZh committed 2025-04-28 13:25:06 +08:00
1 parent e43aa471d1
commit 333758a0ce
1 file changed
+1 -1
@@ -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);
}
}