added a few checks for imbuing
This commit is contained in:
parent
b2a289fd67
commit
8a702e8cc4
2 changed files with 6 additions and 1 deletions
|
@ -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 {
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue