mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 14:35:35 +00:00
Added a method to get player cursor inventory
This commit is contained in:
parent
8958b3c51c
commit
5d436a06ec
@ -3802,6 +3802,10 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
|||||||
//TODO: more windows
|
//TODO: more windows
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getCursorInventory() : PlayerCursorInventory{
|
||||||
|
return $this->cursorInventory;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Inventory $inventory
|
* @param Inventory $inventory
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user