Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-989

Item setPickupDelay() resets on Chunk unload/reload

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None

      I was trying to make an item not able to be picked up with item.setPickupDelay(Integer.MAX_VALUE) and it works fine as long as the chunk remains loaded. But after testing, I found that if I fly away from the said item far enough that the chunk it resides in unloads, and I come back to it (reloading the chunk), the item is then able to be picked up. This is a bug because setPickupDelay(Integer.MAX_VALUE) should make the item not able to be picked up for approximately 3.4 years.

            Unassigned Unassigned
            SnowGears SnowGears
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: