Allow setting null damage on items

This commit is contained in:
Shoghi Cervantes
2014-05-22 19:33:10 +02:00
parent 6cbd39de9b
commit 34c2510f0f
2 changed files with 8 additions and 3 deletions

View File

@ -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);
}