Skip to content

Commit

Permalink
Don't ignore Tinker's Construct blocks in ore registration.
Browse files Browse the repository at this point in the history
This lets them work with the Type Filter machines, and it shouldn't cause unwanted unification or recipe creation.
  • Loading branch information
YannickMG committed Dec 25, 2024
1 parent f15ecc1 commit b058b82
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/gregtech/common/GTProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b058b82

Please sign in to comment.