Please help me!

Discussion in 'Requests' started by kelauzer, Aug 17, 2021.

  1. kelauzer

    kelauzer Creeper

    Messages:
    5
    If i want refill all chests, i get this error
    RuntimeException: index invalid or out of range
    My code:
    foreach($fcontents as $key => $val){
    $tile->getInventory()->setItem($key,$val);
    If needed i send full code
     
  2. minijaham

    minijaham Zombie Pigman

    Messages:
    771
    GitHub:
    minijaham
    Agent likes this.

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.