Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master-1.18' into master-1.19-lts
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Feb 12, 2023
2 parents fa15b8f + 05dd969 commit 85b23ef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions resources/changelog/1.18.2-0.2.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
As always, don't forget to backup your world before updating!
Requires CyclopsCore version 1.13.4 or higher.

Fixes:
* Fix input not consumed if output can not fully fit, Closes #31
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ public boolean craft(boolean simulate) {

// Determine output
if(chosenPossibility != null && !itemStack.isEmpty()
&& addItemStackForOutput(level, targetPos, targetSide, outputProviders, itemStack, simulate)) {
&& addItemStackForOutput(level, targetPos, targetSide, outputProviders, itemStack, true)) {
if (!simulate) {
addItemStackForOutput(level, targetPos, targetSide, outputProviders, itemStack, simulate);
}
chosenPossibility.handleRemainingItems(level, inputSide, simulate);
return true;
}
Expand Down

0 comments on commit 85b23ef

Please sign in to comment.