diff options
author | Alkalus <draknyte1@hotmail.com> | 2017-07-14 14:33:28 +1000 |
---|---|---|
committer | Alkalus <draknyte1@hotmail.com> | 2017-07-14 14:33:28 +1000 |
commit | fe885b60b590785212b0f417c60c56914d111c51 (patch) | |
tree | 74de27a099f062c5476d41b73f0fd10e2d08a865 /src/Java/gtPlusPlus/xmod/gregtech | |
parent | 1b3b6b42b21f09ca517c0303f89ab5da5be89bc9 (diff) | |
download | GT5-Unofficial-fe885b60b590785212b0f417c60c56914d111c51.tar.gz GT5-Unofficial-fe885b60b590785212b0f417c60c56914d111c51.tar.bz2 GT5-Unofficial-fe885b60b590785212b0f417c60c56914d111c51.zip |
$ Fixed a order of operation bug, where recipe removal of new circuits wouldn't occur, as the variables it checked to see if the option was enabled were loaded after the recipe map edit.
+ Attempted to override the list of GT circuits with my own, to prevent NEI clutter.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/common/items/MetaGeneratedGregtechItems.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/items/MetaGeneratedGregtechItems.java b/src/Java/gtPlusPlus/xmod/gregtech/common/items/MetaGeneratedGregtechItems.java index d2703d7958..fb6aa9991d 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/items/MetaGeneratedGregtechItems.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/common/items/MetaGeneratedGregtechItems.java @@ -277,7 +277,6 @@ public class MetaGeneratedGregtechItems extends Gregtech_MetaItem_X32 { //Add the old recipes. new RECIPES_Old_Circuits(); - RECIPES_Old_Circuits.addCircuitRecipes(); Utils.LOG_INFO("[Old Feature] Enabling Pre 5.09.28 circuits & recipes."); Boolean isNEILoaded = Loader.isModLoaded("NotEnoughItems"); @@ -372,7 +371,10 @@ public class MetaGeneratedGregtechItems extends Gregtech_MetaItem_X32 { for (String component : CircuitToHide){ API.hideItem(ItemList.valueOf(component).get(1L, new Object[0])); - } + } + + + RECIPES_Old_Circuits.removeNewCircuits(); } return true; |