Solved Whenever a player drops an item from their inventory, it just dissapears.

Discussion in 'Spigot Plugin Development' started by Yochran, Jul 5, 2021.

  1. I'm having a very strange bug when a player drops an item from their inventory (by pressing their drop button over the item) it just dissapears from their inventory. There are a few ways to get the item to reappear in their inventory (it doesn't seem to be dropping)

    - Pressing the drop button over the same slot they dropped, not being in the inventory (if the dropped item was in their hotbar)
    - Opening another GUI (cannot be their own inventory)

    What's strange is that I never handle player item drops. I'm coding a pickup filter, and the only listeners I have are for player join, player item pickup (not drop), and Inventory Click (for GUIs)

    I've looked through every one of my classes and cannot find where this bug is.

    Here's a video since it might be a bit difficult to understand:

    https://medal.tv/clips/57331356/d1337W7xPdel

    Any help is appreciated.