mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
Closes #1121
This commit is contained in:
parent
9d5a949d27
commit
00c0c507ca
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ public final class CrusherRecipeRegistry{
|
||||||
ArrayList<CrusherRecipe> removed = new ArrayList<>();
|
ArrayList<CrusherRecipe> removed = new ArrayList<>();
|
||||||
for(CrusherRecipe r : ActuallyAdditionsAPI.CRUSHER_RECIPES) {
|
for(CrusherRecipe r : ActuallyAdditionsAPI.CRUSHER_RECIPES) {
|
||||||
boolean canUse = true;
|
boolean canUse = true;
|
||||||
for(CrusherRecipe re : usable) {
|
if(r.getInput().getMatchingStacks().length == 0) canUse = false;
|
||||||
|
else for(CrusherRecipe re : usable) {
|
||||||
if(re.getInput().apply(r.getInput().getMatchingStacks()[0])) canUse = false;
|
if(re.getInput().apply(r.getInput().getMatchingStacks()[0])) canUse = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue