Skip to content

Commit

Permalink
1.12.2-3.0.10:
Browse files Browse the repository at this point in the history
moved our CraftTweaker Integration to happen at Post Init, this will allow tweaking of UniDict added recipes.
  • Loading branch information
WanionCane committed Nov 23, 2021
1 parent 0d35359 commit 1ef78ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'eclipse'
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.

version = "1.12.2-3.0.9"
version = "1.12.2-3.0.10"
group = "wanion.unidict" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "UniDict"

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/wanion/unidict/proxy/CommonProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ public void preInit(final FMLPreInitializationEvent event)
public void init(final FMLInitializationEvent event)
{
uniResourceHandler.init(event);
if (Loader.isModLoaded("crafttweaker"))
UniDictCraftTweakerPlugin.init();
moduleHandler.startModules(event);
}

Expand All @@ -66,6 +64,8 @@ public void postInit(final FMLPostInitializationEvent event)
uniResourceHandler.postInit(event);
moduleHandler.startModules(event);
proccessRecipesToRemove();
if (Loader.isModLoaded("crafttweaker"))
UniDictCraftTweakerPlugin.init();
}

private void proccessRecipesToRemove() {
Expand Down

0 comments on commit 1ef78ec

Please sign in to comment.