aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gregtech/api/util
diff options
context:
space:
mode:
authorAlkalus <Draknyte1@hotmail.com>2020-04-14 23:12:54 +0100
committerAlkalus <Draknyte1@hotmail.com>2020-04-14 23:12:54 +0100
commit86edf93e4bdf56ed4974d0c06eca5de309ca4f9a (patch)
tree18705bad31dbee1141cde6db94c5a4c9cade03de /src/Java/gregtech/api/util
parentbc0b4b644dd410c86c925c7ef2422bd18789437c (diff)
downloadGT5-Unofficial-86edf93e4bdf56ed4974d0c06eca5de309ca4f9a.tar.gz
GT5-Unofficial-86edf93e4bdf56ed4974d0c06eca5de309ca4f9a.tar.bz2
GT5-Unofficial-86edf93e4bdf56ed4974d0c06eca5de309ca4f9a.zip
+ Added a way to register blocks that will cause MachineUpdates when placed. (Useful for non-GT blocks used in Multis)
$ Fixed Industrial Cutting Machine defaulting to slicing mode. $ Fixed reInit() on recipe maps causing absurd crashes. (Doesn't seem to break anything at the moment not doing it, so.. I won't)
Diffstat (limited to 'src/Java/gregtech/api/util')
-rw-r--r--src/Java/gregtech/api/util/GTPP_Recipe.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Java/gregtech/api/util/GTPP_Recipe.java b/src/Java/gregtech/api/util/GTPP_Recipe.java
index 51db590d73..fbae964baf 100644
--- a/src/Java/gregtech/api/util/GTPP_Recipe.java
+++ b/src/Java/gregtech/api/util/GTPP_Recipe.java
@@ -189,7 +189,7 @@ public class GTPP_Recipe extends GT_Recipe implements IComparableRecipe {
public static void reInit() {
GT_Log.out.println("GT_Mod: Re-Unificating Recipes.");
for (final GTPP_Recipe_Map tMapEntry : GTPP_Recipe_Map.sMappings) {
- tMapEntry.reInit();
+ //tMapEntry.reInit();
if (tMapEntry != null && tMapEntry.mRecipeList != null && !tMapEntry.mRecipeList.isEmpty()) {
for (GT_Recipe aRecipe : tMapEntry.mRecipeList) {
checkRecipeOwnership(aRecipe);
@@ -197,7 +197,7 @@ public class GTPP_Recipe extends GT_Recipe implements IComparableRecipe {
}
}
for (final GTPP_Recipe_Map_Internal tMapEntry : GTPP_Recipe_Map_Internal.sMappingsEx) {
- tMapEntry.reInit();
+ //tMapEntry.reInit();
if (tMapEntry != null && tMapEntry.mRecipeList != null && !tMapEntry.mRecipeList.isEmpty()) {
for (GT_Recipe aRecipe : tMapEntry.mRecipeList) {
checkRecipeOwnership(aRecipe);