Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not receiving inventory #46

Closed
UnknownOre opened this issue May 19, 2019 · 0 comments
Closed

not receiving inventory #46

UnknownOre opened this issue May 19, 2019 · 0 comments

Comments

@UnknownOre
Copy link

UnknownOre commented May 19, 2019

not sure why but i had version 1.10 of the lib,however after updating to the latest version it stopped working

$contents = $items;
$this->menu = InvMenu::create(InvMenu::TYPE_DOUBLE_CHEST);
$this->menu
->readonly()
->sessionize()
->setName('AuctionHouse');
$this->menu->getInventory($player)->setContents($contents);
$this->menu->send($player);
$this->menu->getInventory($player)->sendContents($contents);

UPDATE: its only happening with double chest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant