update gtceu + properly access to the material api
This commit is contained in:
parent
1cbc03c016
commit
2691037774
4 changed files with 4 additions and 4 deletions
|
|
@ -60,7 +60,7 @@ const registerTFCHeats = (event) => {
|
|||
if (!tool.isEmpty()) event.itemHeat(tool, heatCapacity, tfcProperty.getForgingTemp(), tfcProperty.getWeldingTemp())
|
||||
}
|
||||
|
||||
GTRegistries.MATERIALS.forEach(material => {
|
||||
GTCEuAPI.materialManager.getRegisteredMaterials().forEach(material => {
|
||||
let tfcProperty = material.getProperty(TFGPropertyKey.TFC_PROPERTY)
|
||||
|
||||
if (tfcProperty != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue