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

Remove an specified Item

Comments in 'Plugin Development' started by JackboyPlay, Mar 6, 2016.

  1. JackboyPlay
    Offline

    JackboyPlay Active Member

    Joined:
    Apr 25, 2015
    Posts:
    507
    Minecraft User:
    JackboyPlay
    How can I remove an specified item from the inventory?
  2. korado531m7
    Offline

    korado531m7 Active Member

    Joined:
    Apr 4, 2015
    Posts:
    158
    Minecraft User:
    korado531m7
    PHP:
    $player->getInventory()->removeItem(Item::get(ID,Damage,Amount));
    JackboyPlay and PEMapModder like this.

Share This Page

Advertisement