added a few checks for imbuing

This commit is contained in:
Jared 2016-07-16 23:03:52 +02:00
parent b2a289fd67
commit 8a702e8cc4
2 changed files with 6 additions and 1 deletions

View file

@ -62,6 +62,12 @@ public class ImbuingStation {
for (ImbuingRecipe recipe : this.recipes) {
if (recipe != null) {
for (ImbuingRecipe r : ImbuingRecipeHandler.imbuingRecipes) {
System.out.println(recipe.getIngredients() + " : " +r.getIngredients());
System.out.println(recipe.toImbue() + " : " +r.toImbue());
System.out.println(recipe.getResult() + " : " +r.getResult());
}
if (ImbuingRecipeHandler.imbuingRecipes.remove(recipe)) {
successful.add(recipe);
} else {

View file

@ -23,7 +23,6 @@ public abstract class BaseListRemoval<T> extends BaseListModification<T> {
if (recipes.isEmpty()) {
return;
}
for (T recipe : this.recipes) {
if (recipe != null) {
if (this.list.remove(recipe)) {