Added a method to get player cursor inventory

This commit is contained in:
Dylan K. Taylor 2017-08-12 14:10:47 +01:00
parent 8958b3c51c
commit 5d436a06ec

View File

@ -3802,6 +3802,10 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
//TODO: more windows
}
public function getCursorInventory() : PlayerCursorInventory{
return $this->cursorInventory;
}
/**
* @param Inventory $inventory
*