Number of items in the player's hand

Discussion in 'Development' started by Matrox, Jun 3, 2019.

  1. Matrox

    Matrox Slime

    Messages:
    78
    I do not know how much is in my hand ??
     
  2. tungstenvm

    tungstenvm Silverfish

    Messages:
    23
    use : $player->getInventory()->getItemInHand()->getCount();
     
  3. Matrox

    Matrox Slime

    Messages:
    78
    Thanks
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.