mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
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:
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user