Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17 from PolyacovYury/1.20.1-fabric/dev
Browse files Browse the repository at this point in the history
fix Saw deleting items
  • Loading branch information
JieningYu committed Jan 23, 2024
2 parents ec0eab4 + 061d7a5 commit b0cbe8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public long extract(ItemVariant resource, long maxAmount, TransactionContext tra
}

@Override
public boolean isItemValid(int slot, ItemVariant resource) {
public boolean isItemValid(int slot, ItemVariant resource, int count) {
return slot == 0 && isEmpty();
}

Expand Down

0 comments on commit b0cbe8c

Please sign in to comment.