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

fix Saw deleting items #17

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading