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

Commit

Permalink
Fix Soulbound Runes not working (Slimefun#3932)
Browse files Browse the repository at this point in the history
  • Loading branch information
Violet-Nonbloosom authored Aug 1, 2023
1 parent 1bdc022 commit 16313ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private void activate(@Nonnull Player p, @Nonnull Item rune) {
*/
private boolean findCompatibleItem(@Nonnull Entity entity) {
if (entity instanceof Item item) {
return item.getPickupDelay() == 0 && !SlimefunUtils.isSoulbound(item.getItemStack()) && !isItem(item.getItemStack());
return item.getPickupDelay() <= 0 && !SlimefunUtils.isSoulbound(item.getItemStack()) && !isItem(item.getItemStack());
}

return false;
Expand Down

0 comments on commit 16313ef

Please sign in to comment.