Added CustomInventory, StoneCutter inventory type, network IDs, fixed viewer list bugs

This commit is contained in:
Shoghi Cervantes
2014-05-24 01:30:58 +02:00
parent f9103772c3
commit 1fd7e0431b
5 changed files with 70 additions and 33 deletions

View File

@ -319,11 +319,11 @@ abstract class BaseInventory implements Inventory{
}
public function onOpen(Player $who){
$this->viewers->attach($who);
}
public function onClose(Player $who){
$this->viewers->detach($who);
}
public function onSlotChange($index, $before){