From 6578a3af1a8ddd6bf661e6e051b39a27d4a5c112 Mon Sep 17 00:00:00 2001 From: Alkalus <3060479+draknyte1@users.noreply.github.com> Date: Mon, 4 Feb 2019 13:45:35 +0000 Subject: $ 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. --- .../xmod/gregtech/registration/gregtech/GregtechMiniRaFusion.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Java/gtPlusPlus') 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(); -- cgit