ItemDespawnEvent: improve documentation

This commit is contained in:
Dylan K. Taylor
2022-05-21 21:57:14 +01:00
parent 351cd4bfd7
commit 7618b13c6e

View File

@ -28,6 +28,9 @@ use pocketmine\event\Cancellable;
use pocketmine\event\CancellableTrait;
/**
* Called when a dropped item tries to despawn due to its despawn delay running out.
* Cancelling the event will reset the despawn delay to default (5 minutes).
*
* @phpstan-extends EntityEvent<ItemEntity>
*/
class ItemDespawnEvent extends EntityEvent implements Cancellable{