I cant use this ================ $item = Item::get($this->id, $this->meta, $count); $sender->getInventory()->addItem($item); ================ When i add item more than 10 items it get error!
PHP: $item = Item::get($this->id, $this->meta, (int) $count);$sender->getInventory()->addItem($item); The count will be probably false. Do what I said and the code would not drop the same error, or it would get fixed.