added a potential fix for #944 suggested by ghosti, cleaned up some other abuses of it in tag events so now it's just indicators that still have to use it
This commit is contained in:
parent
3db90471cd
commit
506faeafd3
12 changed files with 43 additions and 46 deletions
|
|
@ -54,7 +54,7 @@ const registerTFCHeats = (event) => {
|
|||
if (!tool.isEmpty()) event.itemHeat(tool, heatCapacity, tfcProperty.getForgingTemp(), tfcProperty.getWeldingTemp())
|
||||
}
|
||||
|
||||
GTMaterialRegistry.getRegisteredMaterials().forEach(material => {
|
||||
forEachMaterial(material => {
|
||||
let tfcProperty = material.getProperty(TFGPropertyKey.TFC_PROPERTY)
|
||||
|
||||
if (tfcProperty != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue