diff options
author | bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com> | 2019-11-02 23:07:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-02 23:07:14 +0100 |
commit | 659144bc5273adeef2a17e00136c566b484eb426 (patch) | |
tree | da68ea19ab96e7488719b4766f018e6f2b426098 | |
parent | 9557527c7d92682438e7a0d48d6724d6253da001 (diff) | |
parent | 2984c33702931b585d41df5e7022995fc0f795dd (diff) | |
download | GT5-Unofficial-659144bc5273adeef2a17e00136c566b484eb426.tar.gz GT5-Unofficial-659144bc5273adeef2a17e00136c566b484eb426.tar.bz2 GT5-Unofficial-659144bc5273adeef2a17e00136c566b484eb426.zip |
Merge pull request #8 from GTNewHorizons/bartworksIntegration
added runnable for adding own veins
-rw-r--r-- | build.properties | 2 | ||||
-rw-r--r-- | libs/gregtech-5.09.33.23-dev(1).jar (renamed from libs/gregtech-5.09.32.30-dev.jar) | bin | 10352512 -> 10975731 bytes | |||
-rw-r--r-- | src/main/java/bloodasp/galacticgreg/GalacticGreg.java | 15 |
3 files changed, 15 insertions, 2 deletions
diff --git a/build.properties b/build.properties index 00d3bec7df..c973ec401a 100644 --- a/build.properties +++ b/build.properties @@ -1,3 +1,3 @@ minecraft.version=1.7.10 forge.version=10.13.4.1614 -galactigreg.version=1.7.10-1.0.0 +galactigreg.version=1.7.10-1.0.1 diff --git a/libs/gregtech-5.09.32.30-dev.jar b/libs/gregtech-5.09.33.23-dev(1).jar Binary files differindex cb4de4d534..89e61e5c4e 100644 --- a/libs/gregtech-5.09.32.30-dev.jar +++ b/libs/gregtech-5.09.33.23-dev(1).jar diff --git a/src/main/java/bloodasp/galacticgreg/GalacticGreg.java b/src/main/java/bloodasp/galacticgreg/GalacticGreg.java index d51b9dcf6a..82a41fd17c 100644 --- a/src/main/java/bloodasp/galacticgreg/GalacticGreg.java +++ b/src/main/java/bloodasp/galacticgreg/GalacticGreg.java @@ -64,6 +64,8 @@ public class GalacticGreg { // GalacticGregRegistry.registerModContainer(ModRegisterer.Setup_GalactiCraftCore()); // } + public static final ArrayList<Runnable> ADDITIONALVEINREGISTER = new ArrayList<Runnable>(); + /** * Postload phase. Mods can add their custom definition to our api in their own PreLoad or Init-phase * Once GalacticGregRegistry.InitRegistry() is called, no changes are accepted. @@ -88,8 +90,19 @@ public class GalacticGreg { new BW_Worldgen_Ore_SmallOre_Space("small.custom." + (f < 10 ? "0" : "") + f, GregTech_API.sWorldgenFile.get("worldgen.GaGregBartworks." + "small.custom." + (f < 10 ? "0" : "") + f, "Enabled", false)); } } + + for (Runnable r : ADDITIONALVEINREGISTER){ + try{ + r.run(); + }catch (Exception e){ + e.printStackTrace(); + } + } + GalacticConfig.serverPostInit(); - + + + Logger.trace("Leaving POSTLOAD"); } |