Skip to content

Commit 024bd04

Browse files
committed
Fix Forge Hammer output slot is misaligned
1 parent 5c91622 commit 024bd04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/aztech/modern_industrialization/blocks/forgehammer/ForgeHammerScreenHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public boolean mayPlace(ItemStack stack) {
108108
// Note: don't use new SimpleInventory(1), as ResultContainer always returns the full stack in removeItem !
109109
// This ensures that the whole item is always removed from the slot, even if someone right-clicks the output slot.
110110
// (Instead of leaving half the result behind, which gets overridden by the next recipe).
111-
this.output = new Slot(new ResultContainer(), 0, 143, 32) {
111+
this.output = new Slot(new ResultContainer(), 0, 143, 33) {
112112
// The stack passed to `onTake` is not meaningful.
113113
// Hence, we need this crappy hack to track the real amount of removed items for stats.
114114
// Similar to the handling in `ResultSlot`.

0 commit comments

Comments
 (0)