1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

(Solved) Item::get(id,data,amount) amount doesnt work

Discussion in 'Development' started by Daniktheboss, Jan 14, 2017.

  1. Daniktheboss

    Daniktheboss Baby Zombie

    Messages:
    144
    GitHub:
    daniktheboss
    Hey so i have this code
    It has no errors but it doesnt give alot of items.
    EX:
    Item::get(366,0,40) is suppost to give 40 apples, but gives 1? Whats the problem
     
  2. Daniktheboss

    Daniktheboss Baby Zombie

    Messages:
    144
    GitHub:
    daniktheboss
  3. Daniktheboss

    Daniktheboss Baby Zombie

    Messages:
    144
    GitHub:
    daniktheboss
    i had to use a different var to give to player.
    EX: $item2 is to spawn item on chest, $item3 is to GIVE to player
     
  4. Aericio

    Aericio Slime

    Messages:
    99
    GitHub:
    aericio
    > Code doesn't work?

    BLAME DANIK!
     
  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.