Merge branch 'master' of https://github.com/pmmp/pocketmine-mp into master

This commit is contained in:
Dylan K. Taylor 2020-09-20 12:01:40 +01:00
commit 42b184c113

View File

@ -24,7 +24,11 @@ declare(strict_types=1);
namespace pocketmine\event;
/**
* This trait implements Cancellable components for events.
* This trait provides a basic boolean-setter-style implementation for `Cancellable` to reduce boilerplate.
* The precise meaning of `setCancelled` is subject to definition by the class using this trait.
*
* Implementors of `Cancellable` are not required to use this trait.
*
* @see Cancellable
*/
trait CancellableTrait{