mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 17:06:16 +00:00
Blocks now save their bounding box, fixed entity block collision check
This commit is contained in:
@ -50,7 +50,7 @@ abstract class Event{
|
||||
* @return string
|
||||
*/
|
||||
final public function getEventName(){
|
||||
return $this->eventName !== null ? static::class : $this->eventName;
|
||||
return $this->eventName != null ? get_class($this) : $this->eventName;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user