mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-11 14:05:35 +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
|
* @return string
|
||||||
*/
|
*/
|
||||||
final public function getEventName(){
|
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