mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
Fixed Event name being null
This commit is contained in:
parent
d8f9def7f4
commit
6e8e2a79dd
@ -50,7 +50,7 @@ abstract class Event{
|
||||
* @return string
|
||||
*/
|
||||
final public function getEventName(){
|
||||
return $this->eventName != null ? get_class($this) : $this->eventName;
|
||||
return $this->eventName === null ? get_class($this) : $this->eventName;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user