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/gtPlusPlus/core/slots/SlotChemicalPlantInput.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/gtPlusPlus/core/slots/SlotChemicalPlantInput.java')
-rw-r--r-- | src/Java/gtPlusPlus/core/slots/SlotChemicalPlantInput.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Java/gtPlusPlus/core/slots/SlotChemicalPlantInput.java b/src/Java/gtPlusPlus/core/slots/SlotChemicalPlantInput.java index add55b8d27..4b9cda0b9b 100644 --- a/src/Java/gtPlusPlus/core/slots/SlotChemicalPlantInput.java +++ b/src/Java/gtPlusPlus/core/slots/SlotChemicalPlantInput.java @@ -1,7 +1,7 @@ package gtPlusPlus.core.slots; -import gregtech.api.util.Recipe_GT; -import gregtech.api.util.Recipe_GT.Gregtech_Recipe_Map; +import gregtech.api.util.GTPP_Recipe; +import gregtech.api.util.GTPP_Recipe.GTPP_Recipe_Map; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemStack; @@ -20,9 +20,9 @@ public class SlotChemicalPlantInput extends Slot { } public static boolean isItemValidForChemicalPlantSlot(ItemStack aStack) { - boolean validItem = Gregtech_Recipe_Map.sChemicalPlantRecipes.containsInput(aStack); + boolean validItem = GTPP_Recipe_Map.sChemicalPlantRecipes.containsInput(aStack); if (!validItem) { - for (Recipe_GT f : Gregtech_Recipe_Map.sChemicalPlantRecipes.mRecipeList) { + for (GTPP_Recipe f : GTPP_Recipe_Map.sChemicalPlantRecipes.mRecipeList) { if (f.mFluidInputs.length > 0) { for (FluidStack g : f.mFluidInputs) { if (g != null) { |