Help with PlayerDropItemEvent.

Discussion in 'Plugin Development' started by ItsMilo, Feb 26, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    ItsMilo

    Hello.
    Is there a way to prevent the item to move to the 1st empty slot whenever I drop the item.

    Code:java
    1. @EventHandler
    2. public void drop(PlayerDropItemEvent event) {
    3. event.setCancelled(true);
    4. }
     
  2. Offline

    ItsMilo

    Bump​
     
Thread Status:
Not open for further replies.

Share This Page