update gtceu + properly access to the material api

This commit is contained in:
Dmitry 2024-01-26 17:36:31 +07:00
parent 1cbc03c016
commit 2691037774
4 changed files with 4 additions and 4 deletions

View file

@ -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) {