mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Added ContainerTrait, reduce copy-pasted code in Tile
This commit is contained in:
@ -27,6 +27,7 @@ use pocketmine\inventory\Inventory;
|
||||
use pocketmine\item\Item;
|
||||
|
||||
interface Container{
|
||||
const TAG_ITEMS = "Items";
|
||||
|
||||
/**
|
||||
* @param int $index
|
||||
|
Reference in New Issue
Block a user