Solved Getting who dropped an item

Discussion in 'Plugin Development' started by Betagear, Oct 10, 2015.

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

    Betagear

    Hi.
    How can I do to know who dropped an item with ItemSpawnEvent ? (or another event)
     
  2. Offline

    Zombie_Striker

    @Betagear
    You are making alot of posts here.

    Try playerDropItemEvent. you can then store it by using an hashmap and adding the entities UUID with the player's UUID.
     
  3. Offline

    Betagear

    @Zombie_Striker I know, but i'm working on a huge update w/ thing I haven't experimented yet.

    Worked. Quick resolution.
     
  4. Offline

    RoboticPlayer

    @Betagear Have you tried looking at the Javadocs?
     
  5. Offline

    Betagear

  6. Offline

    RoboticPlayer

    @Betagear I am aware that this is solved. But have you tried looking at the Javadocs to look for a simple method instead of always going straight to the forums?
     
  7. Offline

    Betagear

    @henderry2019 Yep but I didn't fount PlayerDropItemEvent. (I wasn't thinking at all something like so existed)
     
Thread Status:
Not open for further replies.

Share This Page