mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Move Event cancellable parts to trait
This commit is contained in:
@ -25,8 +25,10 @@ namespace pocketmine\event\entity;
|
||||
|
||||
use pocketmine\entity\object\ItemEntity;
|
||||
use pocketmine\event\Cancellable;
|
||||
use pocketmine\event\CancellableTrait;
|
||||
|
||||
class ItemDespawnEvent extends EntityEvent implements Cancellable{
|
||||
use CancellableTrait;
|
||||
|
||||
/**
|
||||
* @param ItemEntity $item
|
||||
|
Reference in New Issue
Block a user