This commit is contained in:
modmuss50 2019-06-13 13:14:11 +01:00
parent 4479116d1c
commit f8f20ce6ba
81 changed files with 280 additions and 434 deletions

View file

@ -64,10 +64,10 @@ public class FluidReplicatorRecipeCrafter extends RecipeCrafter {
return false;
}
ItemStack inputStack = inventory.getInvStack(inputSlots[0]);
if (!inputStack.isEqualIgnoreTags(TRContent.Parts.UU_MATTER.getStack())) {
if (!inputStack.isItemEqualIgnoreDamage(TRContent.Parts.UU_MATTER.getStack())) {
return false;
}
if (inputStack.getAmount() < recipe.getInput()) {
if (inputStack.getCount() < recipe.getInput()) {
return false;
}