Skip to content

Commit

Permalink
Fix not clearning new contents between recipes
Browse files Browse the repository at this point in the history
Causes cauldron transforms to not use the newest contents
  • Loading branch information
KnightMiner committed Sep 16, 2020
1 parent 056a50a commit a10855e
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -52,6 +52,7 @@ public void setItemContext(ItemStack stack, @Nullable Consumer<ItemStack> itemSe
this.itemSetter = itemSetter == null ? EMPTY_CONSUMER : itemSetter;
this.itemAdder = itemAdder;
this.newLevel = -1;
this.newContents = null;
}

/**
Expand All @@ -62,6 +63,7 @@ public void clearContext() {
this.itemSetter = EMPTY_CONSUMER;
this.itemAdder = EMPTY_CONSUMER;
this.newLevel = -1;
this.newContents = null;
}


Expand Down

0 comments on commit a10855e

Please sign in to comment.