mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Added CustomInventory, StoneCutter inventory type, network IDs, fixed viewer list bugs
This commit is contained in:
@ -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){
|
||||
|
Reference in New Issue
Block a user