diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-02-04 13:45:35 +0000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-02-04 13:45:35 +0000 |
commit | 6578a3af1a8ddd6bf661e6e051b39a27d4a5c112 (patch) | |
tree | bdd478a060f44231c160b6d363486db64225336a /src/Java/gtPlusPlus | |
parent | 754e8ab095531069181152cf9ca24c85defc1eac (diff) | |
download | GT5-Unofficial-6578a3af1a8ddd6bf661e6e051b39a27d4a5c112.tar.gz GT5-Unofficial-6578a3af1a8ddd6bf661e6e051b39a27d4a5c112.tar.bz2 GT5-Unofficial-6578a3af1a8ddd6bf661e6e051b39a27d4a5c112.zip |
$ Fixed a rather major issue noticed by @soncemvo pertaining to Fusion Recipes having the incorrect time taken.
> Instead of copying the recipe prior to editing for the Mini Fusion Map, I was instead directly editing the Original recipe and adding that.
> Mild oversight to object persistence I guess.
Diffstat (limited to 'src/Java/gtPlusPlus')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechMiniRaFusion.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechMiniRaFusion.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechMiniRaFusion.java index f624b78ab8..c9f42e437d 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechMiniRaFusion.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechMiniRaFusion.java @@ -19,8 +19,9 @@ public class GregtechMiniRaFusion { public static boolean generateSlowFusionrecipes() { for (GT_Recipe x : GT_Recipe.GT_Recipe_Map.sFusionRecipes.mRecipeList){ if (x.mEnabled) { - x.mDuration *= 4; - Recipe_GT.Gregtech_Recipe_Map.sSlowFusionRecipes.add(x); + GT_Recipe y = x.copy(); + y.mDuration *= 4; + Recipe_GT.Gregtech_Recipe_Map.sSlowFusionRecipes.add(y); } } int mRecipeCount = Recipe_GT.Gregtech_Recipe_Map.sSlowFusionRecipes.mRecipeList.size(); |