Solved canceling item drop

Discussion in 'Plugin Help/Development/Requests' started by javaDoesntMakeSense, Dec 21, 2015.

Thread Status:
Not open for further replies.
  1. this is the first day i'm trying to use java, please be harsh with me. what i am trying to do is cancel players from dropping items. i've tried google, etc. there are countless ammounts of threads with solutions to this problem. but guess what, it has now been 6 hours that i am still unable to cancel the drop of items.
    this is my current code; (i have tried another 25 or so)
        public void onPlayerDropItem(PlayerDropItemEvent e) {
    i am on the verge of smashing my keyboard into my screen, please send help.


    ok i have fixed it, apparently i have to register it (what ? ? ? my plugin is not a forum why do i have to register it ? ?) i still do not see why no one cared to include that part in any of their codes.

    (posts merged by moderator)
    Last edited by a moderator: Dec 21, 2015
Thread Status:
Not open for further replies.

Share This Page