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

@ -3,7 +3,7 @@
const registerGTCEULoots = (event) => {
global.TFC_STONE_TYPES.forEach(stoneType => {
GTRegistries.MATERIALS.forEach(material => {
GTCEuAPI.materialManager.getRegisteredMaterials().forEach(material => {
if (material.hasProperty(PropertyKey.ORE)) {
let stoneTypeMaterial = GTMaterials.get(stoneType)