Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

dont drop on death ?

Comments in 'Plugin Development' started by PaulchenHD, Mar 20, 2016.

  1. PaulchenHD
    Offline

    PaulchenHD Active Member

    Joined:
    Jan 17, 2016
    Posts:
    111
    Minecraft User:
    Paulchen_HD
    how to code this ? ;)
  2. PaulchenHD
    Offline

    PaulchenHD Active Member

    Joined:
    Jan 17, 2016
    Posts:
    111
    Minecraft User:
    Paulchen_HD
    okay i have it... :
    PHP:
    public function onDropItem(PlayerDropItemEvent $event){  $event->setCancelled(true); }
  3. Vaivez66
    Offline

    Vaivez66 Notable Member Plugin Developer

    Joined:
    Jun 10, 2015
    Posts:
    402
    Plugins:
    2
    Did you know that Plugin Development forum is exist for a reason?

Share This Page

Advertisement