mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Move Event cancellable parts to trait
This commit is contained in:
@ -25,9 +25,12 @@ namespace pocketmine\event\inventory;
|
||||
|
||||
use pocketmine\entity\object\ItemEntity;
|
||||
use pocketmine\event\Cancellable;
|
||||
use pocketmine\event\CancellableTrait;
|
||||
use pocketmine\inventory\Inventory;
|
||||
|
||||
class InventoryPickupItemEvent extends InventoryEvent implements Cancellable{
|
||||
use CancellableTrait;
|
||||
|
||||
/** @var ItemEntity */
|
||||
private $item;
|
||||
|
||||
|
Reference in New Issue
Block a user