mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Allow setting null damage on items
This commit is contained in:
@ -28,6 +28,7 @@ use pocketmine\item\Item;
|
||||
use pocketmine\Player;
|
||||
|
||||
interface Inventory{
|
||||
const MAX_STACK = 64;
|
||||
|
||||
public function getSize();
|
||||
|
||||
@ -150,4 +151,8 @@ interface Inventory{
|
||||
* @return InventoryHolder
|
||||
*/
|
||||
public function getHolder();
|
||||
|
||||
public function onOpen(Player $who);
|
||||
|
||||
public function onClose(Player $who);
|
||||
}
|
||||
|
Reference in New Issue
Block a user