I think I might've fixed #1028?????
This commit is contained in:
parent
6fd8da5557
commit
f98b5292e8
1 changed files with 3 additions and 7 deletions
|
|
@ -164,12 +164,8 @@ function generatePlatedBlockRecipe(event, material) {
|
|||
.EUt(GTValues.VA[GTValues.LV])
|
||||
}
|
||||
|
||||
//const $MRM = Java.loadClass('com.gregtechceu.gtceu.api.data.chemical.material.IMaterialRegistryManager')
|
||||
|
||||
function forEachMaterial(iterator) {
|
||||
//if (GTMaterialRegistry.getPhase() === $MRM.Phase.CLOSED || GTMaterialRegistry.getPhase() === $MRM.Phase.FROZEN) {
|
||||
GTMaterialRegistry.getRegisteredMaterials().forEach(material => {
|
||||
iterator(material)
|
||||
})
|
||||
//}
|
||||
for (var material of GTCEuAPI.materialManager.getRegisteredMaterials()) {
|
||||
iterator(material)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue