Skip to content

Commit

Permalink
Don't ignore Tinker's Construct blocks in ore registration. (#3709)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Robertz <[email protected]>
  • Loading branch information
YannickMG and Dream-Master authored Jan 3, 2025
1 parent 75a3f03 commit f2376d8
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 @@ -1627,8 +1627,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 f2376d8

Please sign in to comment.