diff options
author | Alkalus <Draknyte1@hotmail.com> | 2020-04-14 19:35:14 +0100 |
---|---|---|
committer | Alkalus <Draknyte1@hotmail.com> | 2020-04-14 19:35:14 +0100 |
commit | 45ca80fa77d081c500cc6df0799a2e824912fd62 (patch) | |
tree | 7ef26a8acf4573c6c7ee77d9983a724fa1ce26da /src/Java/gregtech/api/util/SemiFluidFuelHandler.java | |
parent | e42c71394ca8e9b82a47ca8b35aad2d19ff16ac3 (diff) | |
download | GT5-Unofficial-45ca80fa77d081c500cc6df0799a2e824912fd62.tar.gz GT5-Unofficial-45ca80fa77d081c500cc6df0799a2e824912fd62.tar.bz2 GT5-Unofficial-45ca80fa77d081c500cc6df0799a2e824912fd62.zip |
$ Added recipe hashing to prevent unwanted recipe changes.
$ Made certain TileEntities blacklisted against the World accelerator in both GT++ & GTNH.
Diffstat (limited to 'src/Java/gregtech/api/util/SemiFluidFuelHandler.java')
-rw-r--r-- | src/Java/gregtech/api/util/SemiFluidFuelHandler.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Java/gregtech/api/util/SemiFluidFuelHandler.java b/src/Java/gregtech/api/util/SemiFluidFuelHandler.java index c5b1065831..fa01ea9b5d 100644 --- a/src/Java/gregtech/api/util/SemiFluidFuelHandler.java +++ b/src/Java/gregtech/api/util/SemiFluidFuelHandler.java @@ -1,6 +1,6 @@ package gregtech.api.util; -import static gregtech.api.util.Recipe_GT.Gregtech_Recipe_Map.sSemiFluidLiquidFuels; +import static gregtech.api.util.GTPP_Recipe.GTPP_Recipe_Map.sSemiFluidLiquidFuels; import java.util.HashMap; @@ -29,7 +29,7 @@ public class SemiFluidFuelHandler { FluidStack p = aFuel; if (p != null && aFuelValue > 0) { GT_Recipe aRecipe = - new Recipe_GT(true, + new GTPP_Recipe(true, new ItemStack[] {}, new ItemStack[] {}, null, @@ -100,7 +100,7 @@ public class SemiFluidFuelHandler { } if (aFuelValue <= (128*3)) { - GT_Recipe aRecipe = new Recipe_GT(true, new ItemStack[] {}, new ItemStack[] {}, null, new int[] {}, + GT_Recipe aRecipe = new GTPP_Recipe(true, new ItemStack[] {}, new ItemStack[] {}, null, new int[] {}, new FluidStack[] { p.getKey() }, null, 0, 0, aFuelValue); if (aRecipe.mSpecialValue > 0) { Logger.INFO("Added " + aRecipe.mFluidInputs[0].getLocalizedName() + " to the Semi-Fluid Generator fuel map. Fuel Produces "+(aRecipe.mSpecialValue*1000)+"EU per 1000L."); |