mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-22 05:02:34 +00:00
Fixed incubator recipes
This commit is contained in:
1 parent
dc2c63c856
commit
6907f4159e
1 file changed
+2
-1
@@ -9,6 +9,7 @@ import binnie.genetics.Genetics;
|
||||
import binnie.genetics.api.IIncubatorRecipe;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import java.util.Random;
|
||||
@@ -27,7 +28,7 @@ public class IncubatorLogic extends ComponentProcessIndefinate implements IProce
|
||||
}
|
||||
|
||||
private static boolean isStackValid(ItemStack stack, IIncubatorRecipe recipe) {
|
||||
return ItemStack.areItemsEqual(recipe.getInputStack(), stack);
|
||||
return OreDictionary.itemMatches(recipe.getInputStack(),stack,false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user