From b058b8262a95c823761773146172109244132fa0 Mon Sep 17 00:00:00 2001 From: YannickMG Date: Wed, 25 Dec 2024 13:07:47 -0500 Subject: [PATCH] Don't ignore Tinker's Construct blocks in ore registration. This lets them work with the Type Filter machines, and it shouldn't cause unwanted unification or recipe creation. --- src/main/java/gregtech/common/GTProxy.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/gregtech/common/GTProxy.java b/src/main/java/gregtech/common/GTProxy.java index 2bedabd299c..d95d29fe76a 100644 --- a/src/main/java/gregtech/common/GTProxy.java +++ b/src/main/java/gregtech/common/GTProxy.java @@ -1626,8 +1626,9 @@ public void registerOre(OreDictionary.OreRegisterEvent aEvent) { try { aEvent.Ore.stackSize = 1; - // skipping TinkerConstruct ore registration - if (this.mIgnoreTcon && aOriginalMod.equals(TinkerConstruct.ID)) { + // skipping TinkerConstruct ore registration except for blocks + if (this.mIgnoreTcon && aOriginalMod.equals(TinkerConstruct.ID) + && !(aEvent.Ore.getItem() instanceof ItemBlock)) { return; } String tModToName = aMod + " -> " + aEvent.Name;