mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-27 23:46:04 +00:00
Finally!
This commit is contained in:
1 parent
78d97bd885
commit
504f150711
4 files changed
+14
-6
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package modtweaker2.mods.tfcraft.handlers;
|
||||
|
||||
import static modtweaker2.helpers.StackHelper.areEqual;
|
||||
import static modtweaker2.helpers.InputHelper.toStack;
|
||||
import static com.bioxx.tfc.api.Crafting.AnvilReq.getReqFromInt;
|
||||
|
||||
@@ -66,7 +67,7 @@ public class Anvil {
|
||||
public void apply() {
|
||||
ArrayList<AnvilRecipe> toRemove = new ArrayList<AnvilRecipe>();
|
||||
for (AnvilRecipe recipe : AnvilManager.getInstance().getRecipeList()){
|
||||
if (recipe.getCraftingResult() != null && recipe.getCraftingResult() == stack){
|
||||
if (recipe.getCraftingResult() != null && areEqual(recipe.getCraftingResult(), stack)){
|
||||
toRemove.add(recipe);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user