Skip to content

Commit

Permalink
Fixed a bug that put input into the first output slot
Browse files Browse the repository at this point in the history
  • Loading branch information
Edivad99 committed Aug 16, 2023
1 parent f2fcbf0 commit 3efaf16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public ItemStack extractItem(int slot, int amount, boolean simulate) {
@Override
@NotNull
public ItemStack insertItem(int slot, @NotNull ItemStack stack, boolean simulate) {
if (slot > 9) {
if (slot >= 9) {
return stack;
}
return super.insertItem(slot, stack, simulate);
Expand Down

0 comments on commit 3efaf16

Please sign in to comment.