mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Fix Soulbound Runes not working (#3932)
This commit is contained in:
parent
1bdc02283b
commit
16313ef8a2
@ -117,7 +117,7 @@ public class SoulboundRune extends SimpleSlimefunItem<ItemDropHandler> {
|
||||
*/
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user