[Help] Check for full Inventory

Discussion in 'Plugin Development' started by Suprem20, Sep 2, 2011.

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

    Suprem20

    How can I get a player and check if it's inventory if full?

    help please

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  2. Offline

    Acrobot

    if (inventory.firstEmpty() == -1)

    (From my head)
     
  3. Looks good, use that :p
     
Thread Status:
Not open for further replies.

Share This Page