mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 17:06:16 +00:00
Code cleanup
This commit is contained in:
@ -53,6 +53,7 @@ abstract class Event{
|
||||
if(!($this instanceof Cancellable)){
|
||||
throw new \BadMethodCallException("Event is not Cancellable");
|
||||
}
|
||||
|
||||
return $this->isCancelled === true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user