Slimefun

Slimefun

3M Downloads

Soulbound Rune should respect itemPickupDelay() on an item.

dniym opened this issue · 0 comments

commented

❗ Checklist

  • I am using the official english version of Slimefun and did not modify the jar.
  • I am using an up to date "DEV" (not "RC") version of Slimefun.
  • I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
  • I searched for similar open issues and could not find an existing bug report on this.

📍 Description

soulbound runes can pick up an item on the ground regardless of if the player is able to pick up said item.

This is not desired as players shouldn't be able to use a soulbound rune to bypass the vanilla pickup delay option on an item.

📑 Reproduction Steps

  1. spawn an item into the world
  2. set a pickup delay of the dropped item to any value eg (99999)
  3. drop a soulbound rune on the dropped item
  4. the rune picks up the item before the player could pick up the dropped item.

💡 Expected Behavior

the item shouldn't become soulbound until the pickup delay has expired.

📷 Screenshots / Videos

No response

📜 Server Log

No response

📂 /error-reports/ folder

No response

💻 Server Software

Spigot

🎮 Minecraft Version

1.17.x

⭐ Slimefun version

Slimefun DEV - 1027 (git 96c873b)

looking at the source this issue exists in the current latest code.

🧭 Other plugins

No response