mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
Added a method to get player cursor inventory
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user