Added ContainerTrait, reduce copy-pasted code in Tile

This commit is contained in:
Dylan K. Taylor
2017-10-16 20:01:17 +01:00
parent f14b7cbf78
commit 68ac4f538f
4 changed files with 142 additions and 156 deletions

View File

@ -27,6 +27,7 @@ use pocketmine\inventory\Inventory;
use pocketmine\item\Item;
interface Container{
const TAG_ITEMS = "Items";
/**
* @param int $index