Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Nov 13, 2017
1 parent f36e468 commit 4edaaa4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ private void rebuildPatterns() {
ItemStack patternStack = patterns.getStackInSlot(i);

if (!patternStack.isEmpty()) {
// We copy the pattern stack because if we remove it from the inventory, the crafting task will use a pattern with an invalid stack...
ICraftingPattern pattern = ((ICraftingPatternProvider) patternStack.getItem()).create(world, patternStack.copy(), this);

if (pattern.isValid()) {
Expand Down

0 comments on commit 4edaaa4

Please sign in to comment.