Skip to content

Commit

Permalink
Set hardness of the Ztones glass to be the same as normal glass (#1046)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Robertz <[email protected]>
  • Loading branch information
Alexdoru and Dream-Master authored Oct 19, 2024
1 parent 3817c86 commit 17abdca
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/com/dreammaster/main/MainRegistry.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import static gregtech.api.enums.Mods.TinkerConstruct;
import static gregtech.api.enums.Mods.TwilightForest;
import static gregtech.api.enums.Mods.Witchery;
import static gregtech.api.enums.Mods.ZTones;
import static gregtech.api.recipe.RecipeMaps.compressorRecipes;
import static gregtech.api.util.GTRecipeBuilder.SECONDS;

Expand Down Expand Up @@ -538,6 +539,12 @@ private void registerModFixes() {
if (CoreConfig.MinetweakerFurnaceFixEnabled) {
ModFixesMaster.registerModFix(new MinetweakerFurnaceFix());
}
if (ZTones.isModLoaded()) {
final Block block = GameRegistry.findBlock(ZTones.ID, "tile.glaxx");
if (block != null) {
block.setHardness(0.3F);
}
}
}

/**
Expand Down

0 comments on commit 17abdca

Please sign in to comment.