Materials that shall have toolparts created for them have to be registered specifically now. Registering a material via IMC does so automatically. Should also fix the double-toolparts with extratic and other mod relying on the 1.6 API.

This commit is contained in:
Bernhard Bonigl committed 2014-10-15 23:17:41 +02:00
1 parent c824f68b79
commit c0e46f151b
4 files changed
+36 -2

No files matched your search

@@ -49,6 +49,7 @@ public final class IMCHandler {
ToolMaterial mat = scanMaterial(tag);
if(mat != null) {
TConstructRegistry.addtoolMaterial(tag.getInteger("Id"), mat);
TConstructRegistry.addDefaultToolPartMaterial(tag.getInteger("Id"));
TConstruct.logger.info("IMC: Added material " + mat.materialName);
}
}