Skip to content

Commit

Permalink
Soulbound Rune Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Violet-Nonbloosom committed Jul 31, 2023
1 parent fe99cbd commit b584108
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 b584108

Please sign in to comment.