mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Tile: Cleaned up utterly pointless overcomplicated code for inventories
This commit is contained in:
@ -29,24 +29,6 @@ use pocketmine\item\Item;
|
||||
interface Container{
|
||||
public const TAG_ITEMS = "Items";
|
||||
|
||||
/**
|
||||
* @param int $index
|
||||
*
|
||||
* @return Item
|
||||
*/
|
||||
public function getItem(int $index) : Item;
|
||||
|
||||
/**
|
||||
* @param int $index
|
||||
* @param Item $item
|
||||
*/
|
||||
public function setItem(int $index, Item $item);
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getSize() : int;
|
||||
|
||||
/**
|
||||
* @return Inventory
|
||||
*/
|
||||
|
Reference in New Issue
Block a user