Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master-1.20-lts' into master-1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Sep 9, 2024
2 parents 0aabcf4 + 4fc88b7 commit b73f783
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
6 changes: 6 additions & 0 deletions resources/changelog/1.19.2-1.2.40.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
As always, don't forget to backup your world before updating!
Requires CyclopsCore version 1.17.0 or higher.

Fixes:
* Fix Spirit Furnace not resuming after drained by hopper, Closes #1058

6 changes: 6 additions & 0 deletions resources/changelog/1.20.1-1.2.47.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
As always, don't forget to backup your world before updating!
Requires CyclopsCore version 1.18.4 or higher.

Fixes:
* Fix Spirit Furnace not resuming after drained by hopper, Closes #1058

Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,16 @@ public void registerTankInventoryCapabilitiesItem() {
(blockEntity, direction) -> new ItemHandlerSlotMasked(
blockEntity.getInventory(),
(direction == Direction.UP || direction == Direction.DOWN) ? SLOTS_DROP : new int[]{SLOT_BOX, SLOT_CONTAINER}
)
) {
@Override
public ItemStack extractItem(int slot, int amount, boolean simulate) {
ItemStack extracted = super.extractItem(slot, amount, simulate);
if (slot > SLOT_BOX && !extracted.isEmpty() && !simulate) {
blockEntity.resetWork(false);
}
return extracted;
}
}
);
}
}
Expand Down

0 comments on commit b73f783

Please sign in to comment.